Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 97.17 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.00133/0.00133, allocations: 183 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.546/1.546, 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.0004644/0.0004644, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.00902/0.1198, allocations: 7.784 MB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.1256, allocations: 2.572 MB / 338.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.1265, allocations: 51.88 kB / 338.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.1275, allocations: 429.6 kB / 339.2 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.1299, allocations: 0.9115 MB / 340.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1312, allocations: 0.6313 MB / 340.7 MB, free: 7.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.1344, allocations: 2.604 MB / 343.3 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.1463, allocations: 8.084 MB / 351.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.1483, allocations: 1.444 MB / 352.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.1502, allocations: 1.692 MB / 354.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.1506, allocations: 255.9 kB / 354.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.1515, allocations: 419.8 kB / 355.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.1522, allocations: 0.7164 MB / 355.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.153, allocations: 0.8239 MB / 356.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006002/0.159, allocations: 6.81 MB / 363.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1591, allocations: 0 / 363.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1591, allocations: 0 / 363.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001435/0.1592, allocations: 0 / 363.5 MB, free: 0.7227 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01001/0.1692, allocations: 4.276 MB / 367.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1693, allocations: 12.03 kB / 367.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.184, allocations: 2.582 MB / 370.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005392/0.1894, allocations: 2.135 MB / 372.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.1897, allocations: 333 kB / 372.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.1907, allocations: 440 kB / 373.3 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.2011, allocations: 6.067 MB / 379.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.113e-05/0.2013, allocations: 3.906 kB / 379.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.2017, allocations: 176 kB / 379.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.2019, allocations: 221.3 kB / 379.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1884/0.3903, allocations: 5.762 MB / 385.5 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/0.4237, allocations: 21.48 MB / 407 MB, free: 31.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/0.4296, allocations: 8.972 MB / 416 MB, free: 22.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004783/0.4344, allocations: 3.858 MB / 419.8 MB, free: 17.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4344, allocations: 34.75 kB / 419.9 MB, free: 17.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/0.4344, allocations: 4 kB / 419.9 MB, free: 17.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008659/0.4353, allocations: 0.9114 MB / 420.8 MB, free: 16.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4354, allocations: 55.59 kB / 420.8 MB, free: 16.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.4376, allocations: 2.074 MB / 422.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4376, allocations: 25.7 kB / 422.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/0.4384, allocations: 2.2 MB / 425.1 MB, free: 12.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.4385, allocations: 137.3 kB / 425.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.4386, allocations: 52 kB / 425.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4388, allocations: 459.9 kB / 425.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4398, allocations: 0.9145 MB / 426.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.4413, allocations: 2.265 MB / 428.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.4427, allocations: 1.451 MB / 430.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.4428, allocations: 12 kB / 430.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003581/0.4463, allocations: 3.199 MB / 433.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.4464, allocations: 31.95 kB / 433.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.4464, allocations: 44 kB / 433.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.613e-05/0.4465, allocations: 74.08 kB / 433.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.4481, allocations: 0.5927 MB / 434.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-05/0.4481, allocations: 95.64 kB / 434.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.4499, allocations: 428.6 kB / 434.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.45, allocations: 144 kB / 435 MB, free: 1.934 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002074/0.4521, allocations: 1.554 MB / 436.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.4523, allocations: 134.3 kB / 436.7 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.4531, allocations: 0.5644 MB / 437.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003278/0.4535, allocations: 285.4 kB / 437.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4535, allocations: 0 / 437.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.4535, allocations: 7.922 kB / 437.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/0.4587, allocations: 3.385 MB / 440.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4587, allocations: 288 / 440.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.4589, allocations: 31.98 kB / 440.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.4589, allocations: 7.984 kB / 441 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.4589, allocations: 12 kB / 441 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.4589, allocations: 7.938 kB / 441 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.459, allocations: 0 / 441 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.46, allocations: 0.8781 MB / 441.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/0.4605, allocations: 295.1 kB / 442.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.4607, allocations: 11.98 kB / 442.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.4612, allocations: 31.95 kB / 442.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.4613, allocations: 27.97 kB / 442.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.4613, allocations: 8 kB / 442.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001927/0.4632, allocations: 1.379 MB / 443.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4632, allocations: 0 / 443.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003288/0.4665, allocations: 0.9313 MB / 444.5 MB, free: 8.145 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (voltageSource.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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/0.4669, allocations: 143.6 kB / 444.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.4699, allocations: 1.685 MB / 446.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4699, allocations: 0 / 446.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4701, allocations: 152.4 kB / 446.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4714, allocations: 273.7 kB / 446.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.4823, allocations: 7.078 MB / 453.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.4848, allocations: 2.958 MB / 456.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.4869, allocations: 0.7631 MB / 457.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.4871, allocations: 103.4 kB / 457.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4871, allocations: 0 / 457.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Templates: time 0.03243/0.5196, allocations: 16.59 MB / 474.3 MB, free: 10.36 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches