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.0009123/0.0009123, allocations: 102 kB / 17.16 MB, free: 6.32 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.0008948/0.0008949, allocations: 190 kB / 18.07 MB, free: 5.414 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.222/1.222, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001941/0.001941, allocations: 51.92 kB / 280.1 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08974, allocations: 46.62 MB / 326.7 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01297/0.1028, allocations: 14.38 MB / 341.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006997/0.1098, allocations: 3.918 MB / 345 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.1125, allocations: 87.69 kB / 345.1 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.1234, allocations: 5.312 MB / 350.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.1292, allocations: 1.575 MB / 352 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.1323, allocations: 1.021 MB / 353 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007692/0.14, allocations: 6.674 MB / 359.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01761/0.1576, allocations: 11.57 MB / 371.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.1622, allocations: 3.147 MB / 374.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005868/0.168, allocations: 4.021 MB / 378.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.1704, allocations: 0.6953 MB / 379.1 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1593/0.3297, allocations: 0.8713 MB / 380 MB, free: 25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003374/0.3331, allocations: 1.703 MB / 381.7 MB, free: 25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008199/0.3414, allocations: 3.569 MB / 385.2 MB, free: 24.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.3563, allocations: 12.14 MB / 397.4 MB, free: 22.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3564, allocations: 5.938 kB / 397.4 MB, free: 22.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3564, allocations: 1.094 kB / 397.4 MB, free: 22.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003513/0.3568, allocations: 0 / 397.4 MB, free: 22.04 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.02249/0.3792, allocations: 8.323 MB / 405.7 MB, free: 16.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3793, allocations: 9.594 kB / 405.7 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002806/0.3821, allocations: 1.14 MB / 406.9 MB, free: 16.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02853/0.4107, allocations: 5.077 MB / 411.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007708/0.4184, allocations: 3.549 MB / 415.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.4187, allocations: 0.5109 MB / 416 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/0.4206, allocations: 0.6664 MB / 416.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.4364, allocations: 10.5 MB / 427.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.4365, allocations: 11.64 kB / 427.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006381/0.4372, allocations: 287 kB / 427.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000256/0.4375, allocations: 390.7 kB / 427.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.4544, allocations: 9.643 MB / 437.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04884/0.5033, allocations: 31.9 MB / 469.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/0.5212, allocations: 22.92 MB / 492.3 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.5242, allocations: 1.944 MB / 494.2 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009178/0.5334, allocations: 6.248 MB / 0.4888 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.5334, allocations: 59.66 kB / 0.4888 GB, free: 3.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.156e-06/0.5335, allocations: 0 / 0.4888 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.00589/0.5394, allocations: 3.169 MB / 0.4919 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.5394, allocations: 98.53 kB / 0.492 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/0.5428, allocations: 2.612 MB / 0.4946 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.5429, allocations: 49.7 kB / 0.4946 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.5446, allocations: 3.124 MB / 0.4977 GB, free: 10.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.545, allocations: 0.5571 MB / 0.4982 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.5461, allocations: 0.7936 MB / 0.499 GB, free: 9.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.5461, allocations: 309.1 kB / 0.4993 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.5481, allocations: 1.475 MB / 0.5007 GB, free: 7.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/0.5516, allocations: 3.256 MB / 0.5039 GB, free: 3.527 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005271/0.5569, allocations: 4.829 MB / 0.5086 GB, free: 14.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.235e-05/0.557, allocations: 16 kB / 0.5086 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008092/0.5651, allocations: 5.082 MB / 0.5136 GB, free: 9.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.5652, allocations: 32 kB / 0.5136 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.118e-05/0.5652, allocations: 60 kB / 0.5137 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008334/0.5661, allocations: 344.4 kB / 0.514 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.569, allocations: 0.8817 MB / 0.5149 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004852/0.5739, allocations: 4.645 MB / 0.5194 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/0.5772, allocations: 0.534 MB / 0.5199 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004205/0.5776, allocations: 208.2 kB / 0.5201 GB, free: 2.508 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.003877/0.5815, allocations: 2.328 MB / 0.5224 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/0.582, allocations: 233.1 kB / 0.5226 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.5858, allocations: 2.325 MB / 0.5249 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5858, allocations: 20 kB / 0.5249 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5858, allocations: 4 kB / 0.5249 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.5858, allocations: 7.969 kB / 0.5249 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008722/0.5946, allocations: 5.345 MB / 0.5301 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.5946, allocations: 3.938 kB / 0.5301 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.5959, allocations: 258.1 kB / 0.5304 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006547/0.5965, allocations: 256.6 kB / 0.5306 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.5966, allocations: 35.98 kB / 0.5307 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004518/0.6011, allocations: 4.512 MB / 0.5351 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6012, allocations: 3.656 kB / 0.5351 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1504/0.7516, allocations: 3.303 MB / 0.5383 GB, free: 155.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.7527, allocations: 465.1 kB / 0.5387 GB, free: 155.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/0.7533, allocations: 29.81 kB / 0.5388 GB, free: 155.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.7544, allocations: 99 kB / 0.5389 GB, free: 155.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.7547, allocations: 107.4 kB / 0.539 GB, free: 155.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.7548, allocations: 44.28 kB / 0.539 GB, free: 155.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002728/0.7575, allocations: 1.716 MB / 0.5407 GB, free: 155.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7575, allocations: 0 / 0.5407 GB, free: 155.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004199/0.7617, allocations: 1.524 MB / 0.5422 GB, free: 155.3 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.004608/0.7663, allocations: 3.932 MB / 0.546 GB, free: 154.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004866/0.7712, allocations: 3.514 MB / 0.5494 GB, free: 154 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.7712, allocations: 3.844 kB / 0.5495 GB, free: 154 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.7726, allocations: 1.255 MB / 0.5507 GB, free: 153.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.7749, allocations: 471.9 kB / 0.5511 GB, free: 153.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/0.811, allocations: 35.67 MB / 0.586 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/0.814, allocations: 4.19 MB / 0.5901 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0029/0.817, allocations: 1.284 MB / 0.5913 GB, free: 120.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/0.8187, allocations: 2.123 MB / 0.5934 GB, free: 118.7 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.8187, allocations: 0 / 0.5934 GB, free: 118.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.55/7.368, allocations: 65.39 MB / 0.6572 GB, free: 53.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/7.369, allocations: 246.3 kB / 0.6575 GB, free: 53.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/10.93, allocations: 0 / 0.6575 GB, free: 53.18 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