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.0008435/0.0008435, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.0008677/0.0008677, allocations: 178.5 kB / 18.21 MB, free: 5.531 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.404/1.404, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0007631/0.0007631, allocations: 12 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1189, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01302/0.132, allocations: 13.58 MB / 342.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009151/0.1412, allocations: 3.876 MB / 346.4 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.1434, allocations: 83.75 kB / 346.5 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.1457, allocations: 0.8204 MB / 347.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.1511, allocations: 1.568 MB / 348.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.1538, allocations: 1.002 MB / 349.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007828/0.1616, allocations: 6.677 MB / 356.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02224/0.1839, allocations: 14.22 MB / 370.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004164/0.1881, allocations: 2.506 MB / 373.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004533/0.1926, allocations: 3.19 MB / 376.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.1938, allocations: 392 kB / 376.9 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.1956, allocations: 0.5701 MB / 377.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.1967, allocations: 1.253 MB / 378.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1863/0.383, allocations: 3.064 MB / 381.8 MB, free: 22.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.394, allocations: 11.64 MB / 393.4 MB, free: 20.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.394, allocations: 0 / 393.4 MB, free: 20.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.394, allocations: 0 / 393.4 MB, free: 20.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003038/0.3943, allocations: 0 / 393.4 MB, free: 20.47 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.01831/0.4127, allocations: 6.918 MB / 400.3 MB, free: 16.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4127, allocations: 8.25 kB / 400.3 MB, free: 16.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03044/0.4432, allocations: 5.1 MB / 405.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007888/0.4511, allocations: 3.559 MB / 409 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.4515, allocations: 0.5073 MB / 409.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/0.454, allocations: 0.6623 MB / 410.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.4719, allocations: 10.49 MB / 420.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.4721, allocations: 7.906 kB / 420.7 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007191/0.4728, allocations: 281.6 kB / 420.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.4731, allocations: 394.6 kB / 421.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.4875, allocations: 9.634 MB / 430.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04987/0.5374, allocations: 31.96 MB / 462.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/0.5549, allocations: 22.9 MB / 485.8 MB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003051/0.558, allocations: 1.936 MB / 487.7 MB, free: 380 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009835/0.5679, allocations: 6.237 MB / 494 MB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.5679, allocations: 51.75 kB / 494 MB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 2.936e-06/0.568, allocations: 0 / 494 MB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006144/0.5741, allocations: 3.205 MB / 497.2 MB, free: 6.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.5742, allocations: 94.53 kB / 497.3 MB, free: 6.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/0.5779, allocations: 2.615 MB / 499.9 MB, free: 3.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/0.578, allocations: 49.7 kB / 500 MB, free: 3.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/0.5798, allocations: 3.115 MB / 0.4913 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004266/0.5803, allocations: 0.5512 MB / 0.4918 GB, free: 120 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/0.5807, allocations: 310.6 kB / 0.4921 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.5808, allocations: 301.1 kB / 0.4924 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.5828, allocations: 1.468 MB / 0.4939 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003242/0.5861, allocations: 3.263 MB / 0.4971 GB, free: 9.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005129/0.5912, allocations: 4.818 MB / 0.5018 GB, free: 4.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/0.5913, allocations: 16 kB / 0.5018 GB, free: 4.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007463/0.5987, allocations: 5.096 MB / 0.5067 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.5988, allocations: 32 kB / 0.5068 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.168e-05/0.5989, allocations: 60 kB / 0.5068 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/0.5997, allocations: 340.3 kB / 0.5072 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.6025, allocations: 0.8838 MB / 0.508 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004869/0.6073, allocations: 4.648 MB / 0.5126 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/0.6107, allocations: 0.538 MB / 0.5131 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/0.611, allocations: 208 kB / 0.5133 GB, free: 8.934 MB / 430.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.004241/0.6153, allocations: 2.338 MB / 0.5156 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.6157, allocations: 225.1 kB / 0.5158 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.6196, allocations: 2.326 MB / 0.5181 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.6196, allocations: 19.94 kB / 0.5181 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.6196, allocations: 6.25 kB / 0.5181 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.6196, allocations: 7.969 kB / 0.5181 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008932/0.6286, allocations: 5.334 MB / 0.5233 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.6286, allocations: 0 / 0.5233 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.6299, allocations: 258 kB / 0.5235 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007228/0.6306, allocations: 253.7 kB / 0.5238 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.6308, allocations: 35.98 kB / 0.5238 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004863/0.6357, allocations: 4.522 MB / 0.5282 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6357, allocations: 4.031 kB / 0.5282 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/0.641, allocations: 3.311 MB / 0.5315 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.6422, allocations: 493.6 kB / 0.5319 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.6426, allocations: 31.98 kB / 0.532 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.6438, allocations: 95.91 kB / 0.5321 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.6441, allocations: 112.9 kB / 0.5322 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/0.6442, allocations: 40 kB / 0.5322 GB, free: 5.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002965/0.6472, allocations: 1.718 MB / 0.5339 GB, free: 3.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6472, allocations: 0 / 0.5339 GB, free: 3.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005261/0.6525, allocations: 1.519 MB / 0.5354 GB, free: 2.039 MB / 446.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.000425/0.6529, allocations: 171.6 kB / 0.5355 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2081/0.861, allocations: 3.516 MB / 0.539 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.8611, allocations: 4.094 kB / 0.539 GB, free: 145.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.8632, allocations: 1.262 MB / 0.5402 GB, free: 145 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/0.8663, allocations: 464.4 kB / 0.5406 GB, free: 145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/0.8863, allocations: 12.8 MB / 0.5532 GB, free: 139.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003778/0.8901, allocations: 4.183 MB / 0.5572 GB, free: 138.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003355/0.8935, allocations: 1.289 MB / 0.5585 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004509/0.8939, allocations: 180.8 kB / 0.5587 GB, free: 138 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8939, allocations: 0 / 0.5587 GB, free: 138 MB / 446.1 MB Notification: Performance of Templates: time 0.04757/0.9415, allocations: 29.41 MB / 0.5874 GB, free: 112.7 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (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) 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