Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001496, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004808, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.313, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01347/0.3265, allocations: 12.57 MB / 339 MB, free: 6.918 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3372, allocations: 3.615 MB / 342.7 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.3406, allocations: 83.75 kB / 342.7 MB, free: 3.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.3431, allocations: 0.5784 MB / 343.3 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.3494, allocations: 1.47 MB / 344.8 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.3525, allocations: 0.8616 MB / 345.6 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01497/0.3674, allocations: 9.515 MB / 355.2 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02441/0.3919, allocations: 12.19 MB / 367.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006327/0.3983, allocations: 2.519 MB / 369.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006396/0.4047, allocations: 3.051 MB / 372.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001982/0.4068, allocations: 395.9 kB / 373.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.4099, allocations: 0.5584 MB / 373.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.4113, allocations: 1.23 MB / 375.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002526/0.4138, allocations: 1.256 MB / 376.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.4269, allocations: 10.3 MB / 386.7 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.669e-06/0.427, allocations: 4 kB / 386.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.082e-06/0.427, allocations: 0 / 386.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004608/0.4274, allocations: 3.938 kB / 386.7 MB, free: 7.094 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02222/0.4497, allocations: 6.968 MB / 393.6 MB, free: 52 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.4498, allocations: 8.031 kB / 393.6 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03186/0.4816, allocations: 5.096 MB / 398.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008285/0.49, allocations: 3.52 MB / 402.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/0.4906, allocations: 0.5058 MB / 402.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002565/0.4931, allocations: 0.66 MB / 403.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02836/0.5215, allocations: 10.43 MB / 413.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/0.5219, allocations: 15.89 kB / 413.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002381/0.5243, allocations: 280 kB / 414.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004538/0.5247, allocations: 394.6 kB / 414.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01907/0.5438, allocations: 9.583 MB / 424.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05979/0.6036, allocations: 31.95 MB / 456.1 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2267/0.8304, allocations: 22.87 MB / 478.9 MB, free: 80.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.8333, allocations: 1.929 MB / 480.9 MB, free: 79.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008145/0.8414, allocations: 6.232 MB / 487.1 MB, free: 76.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.8415, allocations: 57.33 kB / 487.1 MB, free: 76.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.506e-06/0.8415, allocations: 0 / 487.1 MB, free: 76.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.005289/0.8468, allocations: 3.16 MB / 490.3 MB, free: 75.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.8469, allocations: 90.02 kB / 490.4 MB, free: 75.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.8499, allocations: 2.596 MB / 493 MB, free: 74.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.85, allocations: 49.61 kB / 493 MB, free: 74.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.8515, allocations: 3.12 MB / 496.2 MB, free: 71.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.8518, allocations: 0.5485 MB / 496.7 MB, free: 71.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.852, allocations: 76.5 kB / 496.8 MB, free: 71.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8521, allocations: 475.8 kB / 497.2 MB, free: 70.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.8539, allocations: 1.455 MB / 498.7 MB, free: 70.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.8562, allocations: 3.245 MB / 0.4902 GB, free: 67.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.8585, allocations: 2.187 MB / 0.4923 GB, free: 65.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/0.8585, allocations: 16 kB / 0.4923 GB, free: 65.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006109/0.8646, allocations: 5.055 MB / 0.4973 GB, free: 60.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.8647, allocations: 32 kB / 0.4973 GB, free: 60.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/0.8647, allocations: 63.94 kB / 0.4974 GB, free: 60.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/0.8654, allocations: 340.7 kB / 0.4977 GB, free: 59.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.8679, allocations: 0.8858 MB / 0.4986 GB, free: 59.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.8716, allocations: 4.639 MB / 0.5031 GB, free: 54.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.8742, allocations: 0.5378 MB / 0.5036 GB, free: 53.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.8744, allocations: 216 kB / 0.5038 GB, free: 53.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00326/0.8777, allocations: 2.327 MB / 0.5061 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.878, allocations: 225.2 kB / 0.5063 GB, free: 50.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/0.8812, allocations: 2.316 MB / 0.5086 GB, free: 48.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.8812, allocations: 17.88 kB / 0.5086 GB, free: 48.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8812, allocations: 4 kB / 0.5086 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.8812, allocations: 7.969 kB / 0.5086 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.8877, allocations: 5.334 MB / 0.5138 GB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.8877, allocations: 7.953 kB / 0.5138 GB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.8887, allocations: 255.6 kB / 0.514 GB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.8892, allocations: 253.6 kB / 0.5143 GB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.8893, allocations: 32 kB / 0.5143 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.8928, allocations: 4.525 MB / 0.5187 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8929, allocations: 0 / 0.5187 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.8965, allocations: 3.282 MB / 0.5219 GB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/0.8973, allocations: 0.4899 MB / 0.5224 GB, free: 33.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.8975, allocations: 28 kB / 0.5225 GB, free: 33.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/0.8984, allocations: 107.9 kB / 0.5226 GB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.8986, allocations: 97.3 kB / 0.5226 GB, free: 33.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.8986, allocations: 47.98 kB / 0.5227 GB, free: 33.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.9006, allocations: 1.698 MB / 0.5244 GB, free: 31.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9006, allocations: 0 / 0.5244 GB, free: 31.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003677/0.9043, allocations: 1.515 MB / 0.5258 GB, free: 30.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002877/0.9046, allocations: 173 kB / 0.526 GB, free: 30.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004377/0.909, allocations: 3.49 MB / 0.5294 GB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.909, allocations: 64 / 0.5294 GB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.9104, allocations: 1.264 MB / 0.5306 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.9123, allocations: 472.1 kB / 0.5311 GB, free: 25.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.9272, allocations: 12.19 MB / 0.543 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/0.9305, allocations: 4.182 MB / 0.5471 GB, free: 8.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003288/0.9338, allocations: 1.287 MB / 0.5483 GB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.9342, allocations: 187.4 kB / 0.5485 GB, free: 7.137 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9342, allocations: 0 / 0.5485 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Templates: time 0.05113/0.9854, allocations: 28.82 MB / 0.5767 GB, free: 10.31 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)