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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 111.8 kB / 17.28 MB, free: 6.219 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.001318/0.001318, allocations: 185.3 kB / 18.19 MB, free: 5.301 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.736/1.736, allocations: 205.1 MB / 224.1 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.001319/0.001319, allocations: 47.92 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 46.63 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01605/0.1378, allocations: 14.38 MB / 341.3 MB, free: 6.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008711/0.1466, allocations: 3.883 MB / 345.2 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.1477, allocations: 83.75 kB / 345.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.1592, allocations: 5.328 MB / 350.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.1652, allocations: 1.564 MB / 352.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.1684, allocations: 1.006 MB / 353.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00947/0.1779, allocations: 6.702 MB / 359.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02819/0.2061, allocations: 16.02 MB / 375.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2681/0.4743, allocations: 3.524 MB / 379.4 MB, free: 23.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009776/0.4841, allocations: 4.169 MB / 383.6 MB, free: 23.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005888/0.49, allocations: 0.9199 MB / 384.5 MB, free: 23.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005905/0.496, allocations: 1.103 MB / 385.6 MB, free: 23.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003989/0.5, allocations: 1.931 MB / 387.5 MB, free: 22.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008618/0.5086, allocations: 3.8 MB / 391.3 MB, free: 21.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.5226, allocations: 12.31 MB / 403.6 MB, free: 16.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.5227, allocations: 7.422 kB / 403.6 MB, free: 16.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5227, allocations: 0.6562 kB / 403.6 MB, free: 16.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005893/0.5233, allocations: 0 / 403.6 MB, free: 16.52 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.03409/0.5574, allocations: 8.332 MB / 412 MB, free: 11.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.5575, allocations: 9.75 kB / 412 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004776/0.5622, allocations: 1.132 MB / 413.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02998/0.5922, allocations: 5.077 MB / 418.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.6033, allocations: 3.552 MB / 421.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007573/0.6041, allocations: 0.5088 MB / 422.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003843/0.608, allocations: 0.6692 MB / 422.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03589/0.6439, allocations: 10.5 MB / 433.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004003/0.6444, allocations: 11.98 kB / 433.4 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003353/0.6477, allocations: 283 kB / 433.7 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000587/0.6483, allocations: 393.8 kB / 434.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02777/0.6761, allocations: 9.641 MB / 443.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07298/0.7492, allocations: 31.89 MB / 475.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02287/0.7721, allocations: 22.92 MB / 498.5 MB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/0.7756, allocations: 1.952 MB / 0.4887 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/0.7878, allocations: 6.242 MB / 0.4948 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.7879, allocations: 52 kB / 0.4949 GB, free: 12.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.947e-06/0.7879, allocations: 0 / 0.4949 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.007099/0.795, allocations: 3.17 MB / 0.498 GB, free: 8.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.7951, allocations: 102.2 kB / 0.4981 GB, free: 8.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/0.8014, allocations: 2.612 MB / 0.5006 GB, free: 6.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.8015, allocations: 57.69 kB / 0.5007 GB, free: 6.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003321/0.8049, allocations: 3.124 MB / 0.5037 GB, free: 2.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006889/0.8056, allocations: 0.5479 MB / 0.5043 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.8069, allocations: 0.8014 MB / 0.5051 GB, free: 1.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8071, allocations: 305.1 kB / 0.5053 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.8091, allocations: 1.47 MB / 0.5068 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003809/0.8129, allocations: 3.259 MB / 0.51 GB, free: 11.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.8187, allocations: 4.824 MB / 0.5147 GB, free: 6.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-05/0.8187, allocations: 16 kB / 0.5147 GB, free: 6.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007987/0.8267, allocations: 5.086 MB / 0.5197 GB, free: 1.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.8268, allocations: 28 kB / 0.5197 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.173e-05/0.8269, allocations: 64 kB / 0.5197 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008464/0.8277, allocations: 343.8 kB / 0.5201 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.8304, allocations: 0.8755 MB / 0.5209 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/0.8366, allocations: 5.064 MB / 0.5259 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.8405, allocations: 0.5456 MB / 0.5264 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.8409, allocations: 204 kB / 0.5266 GB, free: 10.29 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.005209/0.8461, allocations: 2.336 MB / 0.5289 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/0.8467, allocations: 221.2 kB / 0.5291 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.8508, allocations: 2.325 MB / 0.5314 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.8509, allocations: 16 kB / 0.5314 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8509, allocations: 7.938 kB / 0.5314 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.8509, allocations: 7.969 kB / 0.5314 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/0.8604, allocations: 5.358 MB / 0.5366 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.8605, allocations: 0 / 0.5366 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2794/1.14, allocations: 249.8 kB / 0.5369 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009566/1.141, allocations: 260.4 kB / 0.5371 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/1.141, allocations: 35.73 kB / 0.5371 GB, free: 155.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/1.147, allocations: 4.94 MB / 0.542 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.147, allocations: 2.188 kB / 0.542 GB, free: 153 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/1.152, allocations: 3.302 MB / 0.5452 GB, free: 152.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.153, allocations: 471.3 kB / 0.5457 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/1.153, allocations: 34.78 kB / 0.5457 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.154, allocations: 92.91 kB / 0.5458 GB, free: 152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/1.155, allocations: 112.7 kB / 0.5459 GB, free: 152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.155, allocations: 47.34 kB / 0.5459 GB, free: 152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003396/1.158, allocations: 1.717 MB / 0.5476 GB, free: 151.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.21e-07/1.158, allocations: 0 / 0.5476 GB, free: 151.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005584/1.164, allocations: 1.519 MB / 0.5491 GB, free: 150.9 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.005404/1.169, allocations: 3.924 MB / 0.5529 GB, free: 148.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007123/1.176, allocations: 3.817 MB / 0.5566 GB, free: 147.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.176, allocations: 2 kB / 0.5566 GB, free: 147.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/1.178, allocations: 1.265 MB / 0.5579 GB, free: 146.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.181, allocations: 498.6 kB / 0.5584 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06389/1.245, allocations: 35.68 MB / 0.5932 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006891/1.252, allocations: 4.184 MB / 0.5973 GB, free: 113.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003903/1.256, allocations: 1.285 MB / 0.5985 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/1.259, allocations: 2.121 MB / 0.6006 GB, free: 110.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/1.259, allocations: 0 / 0.6006 GB, free: 110.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6384/1.897, allocations: 66.55 MB / 0.6656 GB, free: 44.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.897, allocations: 250.3 kB / 0.6658 GB, free: 43.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.834/5.731, allocations: 12 kB / 0.6659 GB, free: 43.89 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > 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