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.009162/0.009162, allocations: 101.5 kB / 15.73 MB, free: 5.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.001616/0.001616, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.367 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.00122/0.00122, allocations: 57.81 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.09073, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01582/0.1066, allocations: 14.61 MB / 387.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008506/0.1151, allocations: 3.945 MB / 391.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.1176, allocations: 87.75 kB / 391.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.1303, allocations: 5.612 MB / 397.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006806/0.1371, allocations: 1.756 MB / 399.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.1411, allocations: 1.083 MB / 400.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009085/0.1502, allocations: 6.744 MB / 407 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0225/0.1727, allocations: 13.74 MB / 420.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/0.1789, allocations: 3.502 MB / 424.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006477/0.1854, allocations: 4.115 MB / 428.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002567/0.188, allocations: 0.918 MB / 429.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.1915, allocations: 1.097 MB / 430.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002833/0.1944, allocations: 1.929 MB / 432.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006622/0.201, allocations: 3.797 MB / 436.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.2185, allocations: 12.39 MB / 448.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.2185, allocations: 0 / 448.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2186, allocations: 3.938 kB / 448.5 MB, free: 5.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004558/0.219, allocations: 0 / 448.5 MB, free: 5.605 MB / 382.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.2606/0.4796, allocations: 8.282 MB / 456.8 MB, free: 63.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.003e-05/0.4797, allocations: 12.86 kB / 456.8 MB, free: 63.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03271/0.5125, allocations: 5.074 MB / 461.9 MB, free: 62.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00866/0.5212, allocations: 3.545 MB / 465.4 MB, free: 60.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005229/0.5217, allocations: 0.5101 MB / 465.9 MB, free: 60.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/0.5252, allocations: 0.666 MB / 466.6 MB, free: 59.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/0.5513, allocations: 10.48 MB / 477.1 MB, free: 54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.5516, allocations: 11.03 kB / 477.1 MB, free: 54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/0.5529, allocations: 287.5 kB / 477.4 MB, free: 53.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003065/0.5532, allocations: 388.7 kB / 477.8 MB, free: 53.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01619/0.5694, allocations: 9.633 MB / 487.4 MB, free: 44.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.6152, allocations: 31.51 MB / 0.5067 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/0.6303, allocations: 22.9 MB / 0.5291 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.6335, allocations: 1.941 MB / 0.531 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.6441, allocations: 6.23 MB / 0.5371 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.6442, allocations: 55.94 kB / 0.5371 GB, free: 8.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 4.208e-06/0.6442, allocations: 4 kB / 0.5371 GB, free: 8.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.007011/0.6512, allocations: 3.169 MB / 0.5402 GB, free: 5.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.6513, allocations: 98.53 kB / 0.5403 GB, free: 5.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.6564, allocations: 2.612 MB / 0.5429 GB, free: 2.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.6568, allocations: 49.7 kB / 0.5429 GB, free: 2.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.6589, allocations: 3.117 MB / 0.546 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009342/0.6599, allocations: 0.5474 MB / 0.5465 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.6617, allocations: 0.8014 MB / 0.5473 GB, free: 14.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6618, allocations: 306.9 kB / 0.5476 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.6642, allocations: 1.464 MB / 0.549 GB, free: 12.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/0.6677, allocations: 3.264 MB / 0.5522 GB, free: 8.461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006043/0.6738, allocations: 4.82 MB / 0.5569 GB, free: 2.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-05/0.6739, allocations: 16 kB / 0.5569 GB, free: 2.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009763/0.6837, allocations: 5.098 MB / 0.5619 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.6837, allocations: 32 kB / 0.5619 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.651e-05/0.6838, allocations: 60 kB / 0.562 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.6848, allocations: 346.5 kB / 0.5623 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.688, allocations: 0.8813 MB / 0.5632 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.6937, allocations: 5.051 MB / 0.5681 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.6976, allocations: 0.5417 MB / 0.5686 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007059/0.6983, allocations: 208 kB / 0.5688 GB, free: 6.266 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.0042/0.7025, allocations: 2.335 MB / 0.5711 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/0.7032, allocations: 221.1 kB / 0.5713 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.7077, allocations: 2.324 MB / 0.5736 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.7077, allocations: 19.94 kB / 0.5736 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.7077, allocations: 4 kB / 0.5736 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.7077, allocations: 7.969 kB / 0.5736 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.7202, allocations: 5.332 MB / 0.5788 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.7203, allocations: 3.281 kB / 0.5788 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.7217, allocations: 259.7 kB / 0.5791 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007285/0.7224, allocations: 261.4 kB / 0.5793 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.7227, allocations: 32 kB / 0.5794 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005345/0.728, allocations: 4.948 MB / 0.5842 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.728, allocations: 4 kB / 0.5842 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005204/0.7332, allocations: 3.297 MB / 0.5874 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.7343, allocations: 469.8 kB / 0.5879 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/0.7349, allocations: 32 kB / 0.5879 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.7363, allocations: 95.84 kB / 0.588 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.7365, allocations: 109.3 kB / 0.5881 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.7366, allocations: 47.98 kB / 0.5881 GB, free: 2.039 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002979/0.7396, allocations: 1.714 MB / 0.5898 GB, free: 316 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7396, allocations: 0 / 0.5898 GB, free: 316 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.004399/0.7441, allocations: 1.515 MB / 0.5913 GB, free: 14.78 MB / 478.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.0003394/0.7444, allocations: 161.7 kB / 0.5914 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006054/0.7505, allocations: 3.527 MB / 0.5949 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7505, allocations: 0.9375 kB / 0.5949 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.7528, allocations: 1.262 MB / 0.5961 GB, free: 9.801 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.7558, allocations: 0.4897 MB / 0.5966 GB, free: 9.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.7773, allocations: 9.862 MB / 0.6062 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0061/0.7834, allocations: 4.186 MB / 0.6103 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003911/0.7874, allocations: 1.283 MB / 0.6116 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.788, allocations: 187.4 kB / 0.6117 GB, free: 9.727 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.788, allocations: 0 / 0.6117 GB, free: 9.727 MB / 494.1 MB Notification: Performance of Templates: time 0.2788/1.067, allocations: 31.75 MB / 0.6427 GB, free: 166.8 MB / 0.4981 GB 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)