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.0008099/0.00081, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.000769/0.0007692, allocations: 177 kB / 18.2 MB, free: 5.527 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.309/1.309, allocations: 205.4 MB / 224.4 MB, free: 13.05 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.0004561/0.0004562, allocations: 16 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09033, allocations: 47.58 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01225/0.1026, allocations: 13.6 MB / 342.7 MB, free: 5.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007962/0.1106, allocations: 3.864 MB / 346.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.113, allocations: 79.81 kB / 346.6 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.1152, allocations: 0.8282 MB / 347.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00602/0.1212, allocations: 1.567 MB / 349 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.1239, allocations: 0.998 MB / 350 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007542/0.1314, allocations: 6.689 MB / 356.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0223/0.1537, allocations: 14.22 MB / 370.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.1574, allocations: 2.51 MB / 373.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/0.1619, allocations: 3.186 MB / 376.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.1633, allocations: 392 kB / 377 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1658, allocations: 0.5584 MB / 377.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.1675, allocations: 1.261 MB / 378.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1655/0.333, allocations: 3.057 MB / 381.9 MB, free: 22.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.3454, allocations: 11.65 MB / 393.5 MB, free: 20.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3454, allocations: 2.625 kB / 393.5 MB, free: 20.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3455, allocations: 0 / 393.5 MB, free: 20.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003941/0.3459, allocations: 1.656 kB / 393.5 MB, free: 20.48 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.01949/0.3654, allocations: 6.907 MB / 400.4 MB, free: 16.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3654, allocations: 10.38 kB / 400.4 MB, free: 16.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003546/0.369, allocations: 1.139 MB / 401.6 MB, free: 16.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02995/0.3989, allocations: 5.099 MB / 406.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009134/0.4081, allocations: 3.565 MB / 410.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.4085, allocations: 0.5079 MB / 410.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.4109, allocations: 0.6679 MB / 411.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.4335, allocations: 10.5 MB / 421.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/0.4337, allocations: 8 kB / 421.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009713/0.4347, allocations: 279.9 kB / 422.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.4349, allocations: 394.7 kB / 422.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.4516, allocations: 9.65 MB / 432.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/0.503, allocations: 32.02 MB / 464.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/0.5206, allocations: 22.89 MB / 487.1 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.5236, allocations: 1.929 MB / 489.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009741/0.5333, allocations: 6.242 MB / 495.3 MB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.5334, allocations: 51.75 kB / 495.4 MB, free: 8.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.606e-06/0.5334, allocations: 0 / 495.4 MB, free: 8.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006211/0.5396, allocations: 3.2 MB / 498.6 MB, free: 5.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.5397, allocations: 94.55 kB / 498.6 MB, free: 5.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/0.5435, allocations: 2.615 MB / 0.4895 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.5436, allocations: 49.7 kB / 0.4896 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.5454, allocations: 3.125 MB / 0.4926 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.5459, allocations: 0.5477 MB / 0.4931 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.5463, allocations: 310.1 kB / 0.4934 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.5464, allocations: 309 kB / 0.4937 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.5488, allocations: 1.468 MB / 0.4952 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/0.5519, allocations: 3.252 MB / 0.4983 GB, free: 8.707 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/0.557, allocations: 4.826 MB / 0.5031 GB, free: 3.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/0.557, allocations: 22.62 kB / 0.5031 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007481/0.5645, allocations: 5.084 MB / 0.508 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.5646, allocations: 31.98 kB / 0.5081 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.526e-05/0.5647, allocations: 64 kB / 0.5081 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007775/0.5654, allocations: 336.7 kB / 0.5085 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/0.5682, allocations: 0.8778 MB / 0.5093 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004738/0.573, allocations: 4.65 MB / 0.5139 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.5761, allocations: 0.5378 MB / 0.5144 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.5765, allocations: 208 kB / 0.5146 GB, free: 7.68 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.004292/0.5808, allocations: 2.331 MB / 0.5169 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/0.5813, allocations: 229.1 kB / 0.5171 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.5852, allocations: 2.322 MB / 0.5193 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.5853, allocations: 16 kB / 0.5194 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5853, allocations: 4 kB / 0.5194 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5853, allocations: 7.969 kB / 0.5194 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008166/0.5935, allocations: 5.35 MB / 0.5246 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.5935, allocations: 7.938 kB / 0.5246 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.5947, allocations: 253.9 kB / 0.5248 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006688/0.5954, allocations: 261.8 kB / 0.5251 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5955, allocations: 32 kB / 0.5251 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004571/0.6001, allocations: 4.517 MB / 0.5295 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6001, allocations: 4 kB / 0.5295 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004753/0.6049, allocations: 3.311 MB / 0.5328 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.6061, allocations: 0.4938 MB / 0.5333 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.6063, allocations: 28 kB / 0.5333 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6075, allocations: 99.91 kB / 0.5334 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.6077, allocations: 109.3 kB / 0.5335 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/0.6078, allocations: 40 kB / 0.5335 GB, free: 4.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002613/0.6104, allocations: 1.716 MB / 0.5352 GB, free: 2.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6104, allocations: 3.562 kB / 0.5352 GB, free: 2.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004646/0.6151, allocations: 1.535 MB / 0.5367 GB, free: 0.7617 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.1871/0.8022, allocations: 3.912 MB / 0.5405 GB, free: 157.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005568/0.8078, allocations: 3.52 MB / 0.544 GB, free: 156.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/0.8078, allocations: 0.9062 kB / 0.544 GB, free: 156.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.8094, allocations: 1.262 MB / 0.5452 GB, free: 156.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.8124, allocations: 467.2 kB / 0.5456 GB, free: 156.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04473/0.8571, allocations: 35.74 MB / 0.5805 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/0.8605, allocations: 4.185 MB / 0.5846 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003374/0.8639, allocations: 1.29 MB / 0.5859 GB, free: 125.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/0.8659, allocations: 2.124 MB / 0.588 GB, free: 123.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8659, allocations: 0 / 0.588 GB, free: 123.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07687/0.9428, allocations: 64.64 MB / 0.6511 GB, free: 58.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.9429, allocations: 261.6 kB / 0.6513 GB, free: 58.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/3.971, allocations: 0 / 0.6513 GB, free: 58.53 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