Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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.001157/0.001157, allocations: 97.83 kB / 16.94 MB, free: 5.98 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.001442/0.001443, allocations: 177.1 kB / 17.82 MB, free: 5.652 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.438/1.438, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004832/0.0004834, allocations: 11.28 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09848, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01293/0.1115, allocations: 11.64 MB / 340 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00923/0.1207, allocations: 3.741 MB / 343.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.1234, allocations: 79.81 kB / 343.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.1254, allocations: 0.6136 MB / 344.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005244/0.1307, allocations: 1.488 MB / 345.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.1334, allocations: 0.8693 MB / 346.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.1442, allocations: 7.444 MB / 354.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02058/0.1649, allocations: 12.05 MB / 366.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.1691, allocations: 2.27 MB / 368.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.1737, allocations: 2.809 MB / 371.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.1748, allocations: 392 kB / 371.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.1765, allocations: 0.5271 MB / 372.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009507/0.1775, allocations: 1.207 MB / 373.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.1791, allocations: 1.26 MB / 374.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2012/0.3802, allocations: 10.29 MB / 385 MB, free: 25.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3803, allocations: 0 / 385 MB, free: 25.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.3803, allocations: 4.312 kB / 385 MB, free: 25.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004492/0.3808, allocations: 0 / 385 MB, free: 25.67 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.02202/0.4028, allocations: 6.961 MB / 392 MB, free: 22.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4029, allocations: 7.906 kB / 392 MB, free: 22.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03101/0.4339, allocations: 5.104 MB / 397.1 MB, free: 20.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/0.4437, allocations: 3.509 MB / 400.6 MB, free: 19.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.4441, allocations: 0.5017 MB / 401.1 MB, free: 19.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/0.4466, allocations: 0.671 MB / 401.8 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.4701, allocations: 10.37 MB / 412.1 MB, free: 16.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.4703, allocations: 7.906 kB / 412.1 MB, free: 16.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.4714, allocations: 280.7 kB / 412.4 MB, free: 16.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003293/0.4718, allocations: 391.9 kB / 412.8 MB, free: 16.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.4896, allocations: 9.588 MB / 422.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06055/0.5502, allocations: 31.94 MB / 454.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/0.5695, allocations: 22.87 MB / 477.2 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.5814, allocations: 6.274 MB / 483.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5815, allocations: 47.66 kB / 483.5 MB, free: 7.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.809e-06/0.5815, allocations: 4 kB / 483.5 MB, free: 7.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.006363/0.5878, allocations: 3.222 MB / 486.8 MB, free: 3.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.5879, allocations: 98.55 kB / 486.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.5917, allocations: 2.588 MB / 489.4 MB, free: 1.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.5919, allocations: 53.7 kB / 489.5 MB, free: 1.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.5938, allocations: 3.103 MB / 492.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/0.5943, allocations: 0.5588 MB / 493.1 MB, free: 13.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.5945, allocations: 80 kB / 493.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.5948, allocations: 474.3 kB / 493.7 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.5969, allocations: 1.46 MB / 495.2 MB, free: 11.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/0.6002, allocations: 3.226 MB / 498.4 MB, free: 7.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.603, allocations: 2.19 MB / 0.4888 GB, free: 5.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/0.6031, allocations: 16 kB / 0.4888 GB, free: 5.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007514/0.6106, allocations: 5.068 MB / 0.4938 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.6107, allocations: 32 kB / 0.4938 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.206e-05/0.6108, allocations: 64 kB / 0.4939 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/0.6116, allocations: 340.5 kB / 0.4942 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/0.6147, allocations: 0.885 MB / 0.4951 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005397/0.6201, allocations: 4.729 MB / 0.4997 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/0.6241, allocations: 0.5457 MB / 0.5002 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005389/0.6246, allocations: 204 kB / 0.5004 GB, free: 9.512 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 276 * 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.004642/0.6293, allocations: 2.331 MB / 0.5027 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.6299, allocations: 231.7 kB / 0.5029 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.6338, allocations: 2.342 MB / 0.5052 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.6338, allocations: 16 kB / 0.5052 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.6338, allocations: 8 kB / 0.5052 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6338, allocations: 7.969 kB / 0.5052 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009717/0.6436, allocations: 5.323 MB / 0.5104 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.6436, allocations: 0 / 0.5104 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.645, allocations: 262.1 kB / 0.5107 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007341/0.6458, allocations: 257.6 kB / 0.5109 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6459, allocations: 36 kB / 0.511 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.651, allocations: 4.614 MB / 0.5155 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.651, allocations: 0 / 0.5155 GB, free: 9.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/0.656, allocations: 3.344 MB / 0.5187 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.6574, allocations: 493.8 kB / 0.5192 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.6577, allocations: 31.98 kB / 0.5192 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.6588, allocations: 91.91 kB / 0.5193 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.659, allocations: 109.3 kB / 0.5194 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.6591, allocations: 43.98 kB / 0.5195 GB, free: 5.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002579/0.6617, allocations: 1.694 MB / 0.5211 GB, free: 4.039 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6617, allocations: 0 / 0.5211 GB, free: 4.039 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004901/0.6666, allocations: 1.523 MB / 0.5226 GB, free: 2.508 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0004618/0.6671, allocations: 171.9 kB / 0.5228 GB, free: 2.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005937/0.6731, allocations: 3.498 MB / 0.5262 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6731, allocations: 3.938 kB / 0.5262 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.6749, allocations: 1.274 MB / 0.5274 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6774, allocations: 440.6 kB / 0.5279 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/0.6974, allocations: 11.93 MB / 0.5395 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2258/0.9232, allocations: 4.281 MB / 0.5437 GB, free: 155 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004532/0.9278, allocations: 1.285 MB / 0.545 GB, free: 155 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.9285, allocations: 188.6 kB / 0.5451 GB, free: 155 MB / 446.1 MB Notification: Performance of SimCode: time 1.884e-06/0.9286, allocations: 0 / 0.5451 GB, free: 155 MB / 446.1 MB Notification: Performance of Templates: time 0.06038/0.9889, allocations: 28.81 MB / 0.5733 GB, free: 140.7 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches