Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001442/0.001442, allocations: 105.1 kB / 16.62 MB, free: 6.953 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.001221/0.001221, allocations: 189.8 kB / 17.55 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001315/0.001315, allocations: 52.56 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08979, allocations: 46.64 MB / 326.1 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01387/0.1037, allocations: 14.38 MB / 340.5 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.1116, allocations: 3.891 MB / 344.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.1147, allocations: 87.75 kB / 344.5 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0111/0.1258, allocations: 5.312 MB / 349.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005599/0.1314, allocations: 1.571 MB / 351.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.1345, allocations: 1.006 MB / 352.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007995/0.1426, allocations: 6.696 MB / 359.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01868/0.1613, allocations: 16.03 MB / 375.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004959/0.1663, allocations: 3.533 MB / 378.7 MB, free: 12 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.16/0.3263, allocations: 4.159 MB / 382.8 MB, free: 25.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004005/0.3303, allocations: 0.9206 MB / 383.7 MB, free: 25.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.3358, allocations: 1.098 MB / 384.8 MB, free: 25.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004624/0.3404, allocations: 1.935 MB / 386.8 MB, free: 25.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009876/0.3504, allocations: 3.8 MB / 390.6 MB, free: 24.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.3644, allocations: 12.31 MB / 402.9 MB, free: 18.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3644, allocations: 0 / 402.9 MB, free: 18.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3644, allocations: 0 / 402.9 MB, free: 18.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003665/0.3648, allocations: 0 / 402.9 MB, free: 18.59 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.02272/0.3875, allocations: 8.341 MB / 411.2 MB, free: 13.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3876, allocations: 15.39 kB / 411.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02941/0.417, allocations: 5.07 MB / 416.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007472/0.4245, allocations: 3.554 MB / 419.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.4249, allocations: 0.5026 MB / 420.4 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/0.4273, allocations: 0.6665 MB / 421 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.4523, allocations: 10.47 MB / 431.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003822/0.4528, allocations: 7.984 kB / 431.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003072/0.4558, allocations: 285.3 kB / 431.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000616/0.4565, allocations: 390.6 kB / 432.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.4809, allocations: 9.637 MB / 441.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06178/0.5427, allocations: 31.85 MB / 473.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/0.5634, allocations: 22.92 MB / 496.6 MB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/0.5668, allocations: 1.947 MB / 498.5 MB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.577, allocations: 6.241 MB / 0.4929 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.5771, allocations: 51.98 kB / 0.493 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.406e-06/0.5771, allocations: 0 / 0.493 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006239/0.5833, allocations: 3.183 MB / 0.4961 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5834, allocations: 94.55 kB / 0.4962 GB, free: 11.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.5868, allocations: 2.614 MB / 0.4987 GB, free: 9.238 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.587, allocations: 53.7 kB / 0.4988 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5887, allocations: 3.11 MB / 0.5018 GB, free: 6.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004197/0.5891, allocations: 0.554 MB / 0.5024 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.5902, allocations: 0.8014 MB / 0.5031 GB, free: 4.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.5902, allocations: 305.1 kB / 0.5034 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.5922, allocations: 1.464 MB / 0.5049 GB, free: 2.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/0.5952, allocations: 3.264 MB / 0.5081 GB, free: 14.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.6, allocations: 4.822 MB / 0.5128 GB, free: 9.418 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.873e-05/0.6, allocations: 16 kB / 0.5128 GB, free: 9.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008065/0.6081, allocations: 5.09 MB / 0.5177 GB, free: 4.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.6082, allocations: 33 kB / 0.5178 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-05/0.6083, allocations: 60 kB / 0.5178 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008482/0.6091, allocations: 336.2 kB / 0.5182 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.612, allocations: 0.8818 MB / 0.519 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/0.6173, allocations: 5.063 MB / 0.524 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/0.6209, allocations: 0.5339 MB / 0.5245 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005063/0.6215, allocations: 216 kB / 0.5247 GB, free: 13.39 MB / 446.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003899/0.6254, allocations: 2.333 MB / 0.527 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/0.6259, allocations: 225.1 kB / 0.5272 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/0.6296, allocations: 2.326 MB / 0.5295 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.6297, allocations: 16 kB / 0.5295 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6297, allocations: 4 kB / 0.5295 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.6297, allocations: 7.969 kB / 0.5295 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009531/0.6392, allocations: 5.34 MB / 0.5347 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.6393, allocations: 0 / 0.5347 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.6405, allocations: 257 kB / 0.5349 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006216/0.6411, allocations: 257.4 kB / 0.5352 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.6412, allocations: 35.98 kB / 0.5352 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1631/0.8044, allocations: 4.935 MB / 0.54 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8044, allocations: 1.875 kB / 0.54 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.8099, allocations: 3.307 MB / 0.5433 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.8111, allocations: 463 kB / 0.5437 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.8115, allocations: 26.67 kB / 0.5437 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.8126, allocations: 101.8 kB / 0.5438 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.8129, allocations: 108.9 kB / 0.5439 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.813, allocations: 41.28 kB / 0.544 GB, free: 153.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003087/0.8161, allocations: 1.72 MB / 0.5457 GB, free: 152.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8161, allocations: 0 / 0.5457 GB, free: 152.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005729/0.8218, allocations: 1.528 MB / 0.5472 GB, free: 152.3 MB / 446.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004715/0.8223, allocations: 174.5 kB / 0.5473 GB, free: 152.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006982/0.8293, allocations: 3.82 MB / 0.551 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8294, allocations: 1.219 kB / 0.551 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.831, allocations: 1.263 MB / 0.5523 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8336, allocations: 482 kB / 0.5527 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.8497, allocations: 12.75 MB / 0.5652 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003418/0.8532, allocations: 4.178 MB / 0.5693 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003274/0.8564, allocations: 1.292 MB / 0.5705 GB, free: 141.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.8569, allocations: 188.3 kB / 0.5707 GB, free: 141.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8569, allocations: 0 / 0.5707 GB, free: 141.1 MB / 446.1 MB Notification: Performance of Templates: time 0.04772/0.9046, allocations: 30.81 MB / 0.6008 GB, free: 114.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)