Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 115.2 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009001/0.0009001, allocations: 44.08 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2204, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009078/0.2295, allocations: 13.72 MB / 413.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.2355, allocations: 3.765 MB / 417 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.2379, allocations: 95.75 kB / 417.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.2482, allocations: 5.286 MB / 422.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.2536, allocations: 1.353 MB / 423.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.2568, allocations: 0.9978 MB / 424.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006401/0.2632, allocations: 6.183 MB / 430.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01795/0.2812, allocations: 11.49 MB / 442.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/0.2854, allocations: 2.995 MB / 445.4 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005256/0.2907, allocations: 3.757 MB / 449.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001762/0.2925, allocations: 0.6797 MB / 449.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.2951, allocations: 0.8709 MB / 450.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.2971, allocations: 1.562 MB / 452.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004479/0.3016, allocations: 3.357 MB / 455.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3121, allocations: 11.71 MB / 467.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3122, allocations: 0 / 467.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3122, allocations: 0 / 467.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004011/0.3126, allocations: 0 / 467.3 MB, free: 13.27 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02114/0.3337, allocations: 7.808 MB / 475.1 MB, free: 5.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3338, allocations: 12.03 kB / 475.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.3518, allocations: 2.881 MB / 478 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008554/0.3604, allocations: 3.623 MB / 481.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.3608, allocations: 481 kB / 482.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001975/0.3628, allocations: 0.6171 MB / 482.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02167/0.3845, allocations: 9.322 MB / 492 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/0.3848, allocations: 7.906 kB / 492 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/0.3865, allocations: 268 kB / 492.3 MB, free: 4.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003499/0.3869, allocations: 321.4 kB / 492.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.4033, allocations: 7.954 MB / 0.4888 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/0.6291, allocations: 28.54 MB / 0.5167 GB, free: 77.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00874/0.6378, allocations: 11.69 MB / 0.5281 GB, free: 66.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.6403, allocations: 1.623 MB / 0.5297 GB, free: 65.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.6405, allocations: 133.9 kB / 0.5298 GB, free: 65.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.6406, allocations: 63.59 kB / 0.5299 GB, free: 65.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=238): time 4.468e-06/0.6406, allocations: 0 / 0.5299 GB, free: 65.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=238): time 0.006735/0.6473, allocations: 4.167 MB / 0.534 GB, free: 63.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.6474, allocations: 100.7 kB / 0.5341 GB, free: 63.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.6496, allocations: 1.896 MB / 0.5359 GB, free: 62.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.6497, allocations: 65.14 kB / 0.536 GB, free: 62.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008319/0.6506, allocations: 2.544 MB / 0.5385 GB, free: 59.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.651, allocations: 0.8121 MB / 0.5392 GB, free: 59.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007535/0.6517, allocations: 0.6634 MB / 0.5399 GB, free: 58.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.6518, allocations: 301.1 kB / 0.5402 GB, free: 58.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.6533, allocations: 1.401 MB / 0.5416 GB, free: 57.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.6554, allocations: 2.599 MB / 0.5441 GB, free: 54.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/0.659, allocations: 4.239 MB / 0.5482 GB, free: 49.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.6591, allocations: 12 kB / 0.5482 GB, free: 49.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005437/0.6645, allocations: 4.518 MB / 0.5527 GB, free: 44.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.6646, allocations: 20 kB / 0.5527 GB, free: 44.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/0.6646, allocations: 40 kB / 0.5527 GB, free: 44.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.6653, allocations: 316.1 kB / 0.553 GB, free: 44.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.6676, allocations: 0.7722 MB / 0.5538 GB, free: 43.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.6713, allocations: 4.62 MB / 0.5583 GB, free: 38.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.6736, allocations: 412 kB / 0.5587 GB, free: 38.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.6739, allocations: 160 kB / 0.5588 GB, free: 38.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.002968/0.6768, allocations: 2.195 MB / 0.561 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.6772, allocations: 205.4 kB / 0.5612 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/0.6815, allocations: 3.193 MB / 0.5643 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.6815, allocations: 24 kB / 0.5643 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.6815, allocations: 4 kB / 0.5643 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.6815, allocations: 11.95 kB / 0.5643 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.6954, allocations: 11.79 MB / 0.5758 GB, free: 20.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.6954, allocations: 16 kB / 0.5758 GB, free: 20.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.6969, allocations: 435.3 kB / 0.5763 GB, free: 19.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005755/0.6975, allocations: 273.7 kB / 0.5765 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.6976, allocations: 67.98 kB / 0.5766 GB, free: 19.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.7012, allocations: 4.558 MB / 0.581 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.7012, allocations: 23.88 kB / 0.5811 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008465/0.7097, allocations: 8.441 MB / 0.5893 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009/0.7106, allocations: 0.5251 MB / 0.5898 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.7108, allocations: 68.05 kB / 0.5899 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.712, allocations: 127.9 kB / 0.59 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.7123, allocations: 205.3 kB / 0.5902 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.7124, allocations: 80 kB / 0.5903 GB, free: 4.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001469/0.7139, allocations: 1.291 MB / 0.5915 GB, free: 3.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7139, allocations: 0 / 0.5915 GB, free: 3.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004241/0.7182, allocations: 1.524 MB / 0.593 GB, free: 2.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0003907/0.7186, allocations: 221.3 kB / 0.5932 GB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005098/0.7237, allocations: 3.639 MB / 0.5968 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.7237, allocations: 0 / 0.5968 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.726, allocations: 1.69 MB / 0.5984 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.7287, allocations: 0.4893 MB / 0.5989 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.7486, allocations: 13.73 MB / 0.6123 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004001/0.7526, allocations: 4.07 MB / 0.6163 GB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003511/0.7561, allocations: 1.191 MB / 0.6175 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.7568, allocations: 187.4 kB / 0.6176 GB, free: 8.531 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7568, allocations: 4 kB / 0.6176 GB, free: 8.527 MB / 410.7 MB Notification: Performance of Templates: time 0.05595/0.8127, allocations: 30.79 MB / 0.6477 GB, free: 9.93 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches