Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 171.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007696/0.0007696, allocations: 93.3 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003144, allocations: 11.98 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2135, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.009439/0.223, allocations: 12.64 MB / 387.8 MB, free: 35.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007684/0.2308, allocations: 3.627 MB / 391.5 MB, free: 32.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.233, allocations: 87.75 kB / 391.5 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.2348, allocations: 0.5745 MB / 392.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.2396, allocations: 1.491 MB / 393.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.242, allocations: 0.8667 MB / 394.5 MB, free: 29.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.2521, allocations: 9.512 MB / 404 MB, free: 19.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01831/0.2704, allocations: 13.9 MB / 417.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/0.2741, allocations: 2.515 MB / 420.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.2784, allocations: 3.047 MB / 423.4 MB, free: 244 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.2799, allocations: 396 kB / 423.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.2825, allocations: 0.5545 MB / 424.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.2844, allocations: 1.234 MB / 425.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00511/0.2895, allocations: 2.934 MB / 428.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.3006, allocations: 10.32 MB / 438.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3007, allocations: 0 / 438.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3007, allocations: 0 / 438.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004193/0.3011, allocations: 0 / 438.9 MB, free: 0.7578 MB / 314.7 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.01738/0.3185, allocations: 6.909 MB / 445.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3185, allocations: 8.031 kB / 445.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00244/0.321, allocations: 1.141 MB / 446.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0274/0.3484, allocations: 5.096 MB / 452 MB, free: 3.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007123/0.3556, allocations: 3.555 MB / 455.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.356, allocations: 0.502 MB / 456.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.3579, allocations: 0.6757 MB / 456.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.3791, allocations: 10.45 MB / 467.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/0.3794, allocations: 19.83 kB / 467.2 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.3805, allocations: 276 kB / 467.5 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003495/0.3808, allocations: 394.7 kB / 467.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/0.3978, allocations: 9.587 MB / 477.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2068/0.6047, allocations: 32.01 MB / 0.4975 GB, free: 88.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.6178, allocations: 22.88 MB / 0.5199 GB, free: 66.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.6203, allocations: 1.926 MB / 0.5218 GB, free: 66.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00798/0.6283, allocations: 6.237 MB / 0.5279 GB, free: 64.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.6284, allocations: 55.41 kB / 0.5279 GB, free: 64.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.196e-06/0.6284, allocations: 3.938 kB / 0.5279 GB, free: 64.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.004955/0.6334, allocations: 3.184 MB / 0.531 GB, free: 63.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.6334, allocations: 92.52 kB / 0.5311 GB, free: 62.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.6361, allocations: 2.603 MB / 0.5336 GB, free: 61.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.6362, allocations: 45.52 kB / 0.5337 GB, free: 61.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.6372, allocations: 3.125 MB / 0.5367 GB, free: 58.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.6375, allocations: 0.5454 MB / 0.5373 GB, free: 58.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.6376, allocations: 82.41 kB / 0.5374 GB, free: 58.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6378, allocations: 470.4 kB / 0.5378 GB, free: 57.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.6394, allocations: 1.451 MB / 0.5392 GB, free: 57.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.6416, allocations: 3.24 MB / 0.5424 GB, free: 54.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.6454, allocations: 4.798 MB / 0.5471 GB, free: 49.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.6454, allocations: 26.19 kB / 0.5471 GB, free: 49.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005831/0.6512, allocations: 5.053 MB / 0.552 GB, free: 44.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.6513, allocations: 32 kB / 0.5521 GB, free: 44.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-05/0.6514, allocations: 60 kB / 0.5521 GB, free: 44.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006867/0.6521, allocations: 341.2 kB / 0.5524 GB, free: 44.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.6545, allocations: 0.8774 MB / 0.5533 GB, free: 43.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.6582, allocations: 4.636 MB / 0.5578 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.6607, allocations: 0.5416 MB / 0.5584 GB, free: 38.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.661, allocations: 212 kB / 0.5586 GB, free: 37.98 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003233/0.6642, allocations: 2.335 MB / 0.5608 GB, free: 35.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.6645, allocations: 221.2 kB / 0.561 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.6676, allocations: 2.311 MB / 0.5633 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6677, allocations: 19.94 kB / 0.5633 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6677, allocations: 4 kB / 0.5633 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.6677, allocations: 11.97 kB / 0.5633 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006645/0.6743, allocations: 5.347 MB / 0.5686 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.6744, allocations: 0 / 0.5686 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.6754, allocations: 251.7 kB / 0.5688 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.676, allocations: 257.6 kB / 0.569 GB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.6761, allocations: 32 kB / 0.5691 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003407/0.6795, allocations: 4.527 MB / 0.5735 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6795, allocations: 0 / 0.5735 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.683, allocations: 3.293 MB / 0.5767 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.6838, allocations: 0.4899 MB / 0.5772 GB, free: 18.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.684, allocations: 28 kB / 0.5772 GB, free: 18.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.685, allocations: 96.09 kB / 0.5773 GB, free: 18.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.6853, allocations: 117.3 kB / 0.5774 GB, free: 18.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.6854, allocations: 43.98 kB / 0.5775 GB, free: 18.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001862/0.6873, allocations: 1.694 MB / 0.5791 GB, free: 16.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6873, allocations: 0 / 0.5791 GB, free: 16.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003545/0.6908, allocations: 1.527 MB / 0.5806 GB, free: 14.98 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003835/0.6947, allocations: 3.911 MB / 0.5844 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004201/0.6989, allocations: 3.497 MB / 0.5878 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6989, allocations: 0 / 0.5878 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.7002, allocations: 1.265 MB / 0.5891 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.7025, allocations: 467.8 kB / 0.5895 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/0.7404, allocations: 25.22 MB / 0.6142 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003802/0.7442, allocations: 4.07 MB / 0.6181 GB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/0.7469, allocations: 2.147 MB / 0.6202 GB, free: 4.453 MB / 410.7 MB Notification: Performance of SimCode: time 2.355e-06/0.7469, allocations: 0 / 0.6202 GB, free: 4.453 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.434/6.181, allocations: 152.2 MB / 0.7689 GB, free: 53.64 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches