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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008485/0.0008486, allocations: 96.77 kB / 16.3 MB, free: 5.621 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.0008365/0.0008366, allocations: 182.1 kB / 17.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002327/0.0002327, allocations: 7.938 kB / 300.7 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08036, allocations: 50.41 MB / 351.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01011/0.0905, allocations: 11.11 MB / 362.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006237/0.09678, allocations: 3.565 MB / 365.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.09837, allocations: 91.75 kB / 365.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.1, allocations: 0.5787 MB / 366.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.1036, allocations: 1.304 MB / 367.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.1056, allocations: 0.8514 MB / 368.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.168/0.2736, allocations: 7.151 MB / 375.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01939/0.293, allocations: 11.95 MB / 387.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.2964, allocations: 2.126 MB / 389.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.2996, allocations: 2.593 MB / 392.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000653/0.3003, allocations: 379.4 kB / 392.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.3017, allocations: 0.5184 MB / 393.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.3024, allocations: 1.076 MB / 394.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.3034, allocations: 1.192 MB / 395.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005855/0.3093, allocations: 9.979 MB / 405.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.3093, allocations: 0 / 405.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3093, allocations: 4 kB / 405.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002016/0.3095, allocations: 0 / 405.6 MB, free: 14.96 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01575/0.3253, allocations: 6.559 MB / 412.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3253, allocations: 8.031 kB / 412.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/0.3439, allocations: 2.906 MB / 415.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007533/0.3515, allocations: 3.57 MB / 418.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.3518, allocations: 482.2 kB / 419.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.3531, allocations: 0.6167 MB / 419.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.3689, allocations: 9.221 MB / 429 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.3691, allocations: 15.89 kB / 429 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/0.3697, allocations: 258.2 kB / 429.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.37, allocations: 321.4 kB / 429.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.3826, allocations: 7.903 MB / 437.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/0.4241, allocations: 28.64 MB / 466.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/0.4359, allocations: 11.67 MB / 477.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.4363, allocations: 136.9 kB / 477.9 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.4363, allocations: 64.56 kB / 477.9 MB, free: 4.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.068e-06/0.4363, allocations: 0 / 477.9 MB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.007558/0.4439, allocations: 4.143 MB / 482.1 MB, free: 92 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.444, allocations: 99.11 kB / 482.2 MB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.4465, allocations: 1.895 MB / 484.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.4467, allocations: 65.7 kB / 484.1 MB, free: 14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.4482, allocations: 2.541 MB / 486.7 MB, free: 11.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000639/0.4488, allocations: 0.8073 MB / 487.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.449, allocations: 68 kB / 487.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002339/0.4492, allocations: 449.3 kB / 488 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.4512, allocations: 1.396 MB / 489.4 MB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.454, allocations: 2.568 MB / 492 MB, free: 5.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/0.4566, allocations: 1.999 MB / 494 MB, free: 3.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.4566, allocations: 16 kB / 494 MB, free: 3.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00655/0.4632, allocations: 4.491 MB / 498.5 MB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.4632, allocations: 20.75 kB / 498.5 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.092e-05/0.4633, allocations: 40 kB / 498.5 MB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000843/0.4641, allocations: 313.4 kB / 498.8 MB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.4668, allocations: 0.7722 MB / 499.6 MB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.4722, allocations: 4.687 MB / 0.4925 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.4744, allocations: 408 kB / 0.4929 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.4747, allocations: 164 kB / 0.493 GB, free: 8.461 MB / 414.1 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 (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.003424/0.4781, allocations: 2.188 MB / 0.4952 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.4785, allocations: 213.4 kB / 0.4954 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.4834, allocations: 3.189 MB / 0.4985 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.4835, allocations: 28 kB / 0.4985 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4835, allocations: 4 kB / 0.4985 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.4835, allocations: 15.95 kB / 0.4985 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.5005, allocations: 11.6 MB / 0.5098 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.5005, allocations: 15.94 kB / 0.5099 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.5022, allocations: 431.3 kB / 0.5103 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/0.5029, allocations: 281.5 kB / 0.5105 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.503, allocations: 63.95 kB / 0.5106 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004811/0.5078, allocations: 4.638 MB / 0.5151 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/0.5078, allocations: 19.94 kB / 0.5152 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/0.5147, allocations: 5.815 MB / 0.5208 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.5159, allocations: 0.5329 MB / 0.5214 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.5162, allocations: 59.98 kB / 0.5214 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.5174, allocations: 128.3 kB / 0.5215 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.5177, allocations: 197.3 kB / 0.5217 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.5178, allocations: 87.98 kB / 0.5218 GB, free: 9.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00175/0.5196, allocations: 1.279 MB / 0.5231 GB, free: 8.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5196, allocations: 0 / 0.5231 GB, free: 8.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003778/0.5234, allocations: 1.438 MB / 0.5245 GB, free: 6.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (224): * Single equations (assignments): 222 * 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 Backend phase and start with SimCode phase: time 0.0003841/0.5237, allocations: 214.7 kB / 0.5247 GB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005331/0.5291, allocations: 3.608 MB / 0.5282 GB, free: 3.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.5291, allocations: 4 kB / 0.5282 GB, free: 3.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.5314, allocations: 1.682 MB / 0.5298 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.5335, allocations: 463.2 kB / 0.5303 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1741/0.7076, allocations: 12.04 MB / 0.542 GB, free: 124.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/0.7119, allocations: 4.099 MB / 0.546 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003171/0.7151, allocations: 1.19 MB / 0.5472 GB, free: 123.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.7157, allocations: 192.8 kB / 0.5474 GB, free: 123.5 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.7157, allocations: 0 / 0.5474 GB, free: 123.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04123/0.7569, allocations: 28.8 MB / 0.5755 GB, free: 106.8 MB / 446.1 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/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