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.001109/0.001109, allocations: 104.7 kB / 17.93 MB, free: 5.551 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.00116/0.00116, allocations: 193.8 kB / 18.86 MB, free: 4.629 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.475/1.475, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001513/0.001513, allocations: 55.92 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09448, allocations: 46.64 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01469/0.1092, allocations: 14.38 MB / 341.8 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1201, allocations: 3.899 MB / 345.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.1238, allocations: 83.75 kB / 345.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.1364, allocations: 5.312 MB / 351.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.1434, allocations: 1.571 MB / 352.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.1472, allocations: 1.006 MB / 353.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009304/0.1565, allocations: 6.703 MB / 360.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02759/0.1842, allocations: 16.02 MB / 376.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.1906, allocations: 3.537 MB / 379.9 MB, free: 28 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2289/0.4195, allocations: 4.164 MB / 384.1 MB, free: 25.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00499/0.4246, allocations: 0.9162 MB / 385 MB, free: 25.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006829/0.4314, allocations: 1.104 MB / 386.1 MB, free: 25.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004977/0.4364, allocations: 1.936 MB / 388.1 MB, free: 25.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0116/0.4481, allocations: 3.799 MB / 391.9 MB, free: 24.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.4628, allocations: 10.67 MB / 402.5 MB, free: 19.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4629, allocations: 0 / 402.5 MB, free: 19.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4629, allocations: 0.625 kB / 402.5 MB, free: 19.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000436/0.4634, allocations: 3.594 kB / 402.5 MB, free: 19.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.02524/0.4886, allocations: 8.337 MB / 410.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4887, allocations: 7.312 kB / 410.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02962/0.5183, allocations: 5.07 MB / 416 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007868/0.5262, allocations: 3.556 MB / 419.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.5266, allocations: 0.5037 MB / 420 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/0.5293, allocations: 0.6633 MB / 420.7 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/0.5531, allocations: 10.48 MB / 431.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002175/0.5534, allocations: 7.984 kB / 431.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/0.555, allocations: 285.9 kB / 431.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004339/0.5555, allocations: 390.6 kB / 431.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02071/0.5762, allocations: 9.637 MB / 441.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05861/0.6348, allocations: 31.85 MB / 473.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/0.6544, allocations: 22.93 MB / 496.2 MB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.6578, allocations: 1.944 MB / 498.2 MB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.6681, allocations: 6.24 MB / 0.4926 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.6681, allocations: 51.98 kB / 0.4926 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 4.258e-06/0.6681, allocations: 3.562 kB / 0.4927 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006377/0.6745, allocations: 3.18 MB / 0.4958 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.6746, allocations: 94.55 kB / 0.4958 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/0.6786, allocations: 2.612 MB / 0.4984 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.679, allocations: 53.7 kB / 0.4984 GB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/0.6814, allocations: 3.112 MB / 0.5015 GB, free: 7.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/0.6822, allocations: 0.5629 MB / 0.502 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.6834, allocations: 0.7936 MB / 0.5028 GB, free: 6.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6835, allocations: 305.1 kB / 0.5031 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/0.6857, allocations: 1.468 MB / 0.5045 GB, free: 4.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003332/0.6891, allocations: 3.253 MB / 0.5077 GB, free: 476 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006085/0.6952, allocations: 4.825 MB / 0.5124 GB, free: 11.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-05/0.6953, allocations: 16 kB / 0.5124 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.009554/0.7049, allocations: 5.087 MB / 0.5174 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.705, allocations: 39.98 kB / 0.5174 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-05/0.705, allocations: 60 kB / 0.5175 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008117/0.7059, allocations: 332.2 kB / 0.5178 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.7089, allocations: 0.8848 MB / 0.5187 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.7142, allocations: 5.064 MB / 0.5236 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.718, allocations: 0.5378 MB / 0.5242 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000651/0.7187, allocations: 216 kB / 0.5244 GB, free: 15 MB / 446.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.004674/0.7234, allocations: 2.335 MB / 0.5266 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.724, allocations: 225.1 kB / 0.5269 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.7281, allocations: 2.321 MB / 0.5291 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.7281, allocations: 16 kB / 0.5291 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.7281, allocations: 4 kB / 0.5291 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7282, allocations: 7.969 kB / 0.5291 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.7372, allocations: 5.342 MB / 0.5344 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7373, allocations: 0 / 0.5344 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.7386, allocations: 261 kB / 0.5346 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006988/0.7393, allocations: 265.1 kB / 0.5349 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.7394, allocations: 39.98 kB / 0.5349 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1737/0.9131, allocations: 4.922 MB / 0.5397 GB, free: 154.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9132, allocations: 1 kB / 0.5397 GB, free: 154.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/0.9185, allocations: 3.305 MB / 0.5429 GB, free: 154.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.9196, allocations: 468.7 kB / 0.5434 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.9199, allocations: 28.38 kB / 0.5434 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.921, allocations: 99.95 kB / 0.5435 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.9213, allocations: 109.3 kB / 0.5436 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.9214, allocations: 43.83 kB / 0.5437 GB, free: 154.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002602/0.924, allocations: 1.714 MB / 0.5453 GB, free: 154.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.924, allocations: 1.125 kB / 0.5453 GB, free: 154.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004637/0.9286, allocations: 1.522 MB / 0.5468 GB, free: 153.7 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.0004359/0.9291, allocations: 171.2 kB / 0.547 GB, free: 153.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006887/0.936, allocations: 3.813 MB / 0.5507 GB, free: 152.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.936, allocations: 6.094 kB / 0.5507 GB, free: 152.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.9378, allocations: 1.259 MB / 0.5519 GB, free: 151.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.941, allocations: 492.5 kB / 0.5524 GB, free: 151.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.9606, allocations: 12.62 MB / 0.5647 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/0.9643, allocations: 4.064 MB / 0.5687 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/0.9652, allocations: 235 kB / 0.5689 GB, free: 142.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.9652, allocations: 0 / 0.5689 GB, free: 142.8 MB / 446.1 MB Notification: Performance of Templates: time 0.3121/1.277, allocations: 130.5 MB / 0.6964 GB, free: 153.8 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/jenkins1/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