Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 204.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 65.72 kB / 307.1 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08855, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01039/0.09898, allocations: 9.739 MB / 367.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004915/0.1039, allocations: 2.756 MB / 370.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.1053, allocations: 75.75 kB / 370.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1783/0.2837, allocations: 4.169 MB / 374.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.2863, allocations: 0.7675 MB / 375.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.2883, allocations: 0.9538 MB / 376 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.2919, allocations: 4.034 MB / 380.1 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/0.3041, allocations: 11 MB / 391.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.307, allocations: 2.356 MB / 393.4 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.3099, allocations: 2.651 MB / 396.1 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007485/0.3107, allocations: 0.6643 MB / 396.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.3121, allocations: 0.8941 MB / 397.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.3139, allocations: 1.348 MB / 399 MB, free: 0 / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002402/0.3163, allocations: 2.558 MB / 401.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006465/0.3227, allocations: 8.856 MB / 410.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3228, allocations: 0 / 410.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3228, allocations: 0 / 410.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.3229, allocations: 0 / 410.4 MB, free: 5.371 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.0118/0.3347, allocations: 5.309 MB / 415.7 MB, free: 28 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3347, allocations: 12.03 kB / 415.7 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001096/0.3358, allocations: 0.6566 MB / 416.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007723/0.3436, allocations: 1.328 MB / 417.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/0.3486, allocations: 2.51 MB / 420.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.3489, allocations: 348 kB / 420.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000965/0.3499, allocations: 451.9 kB / 421 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.3621, allocations: 6.096 MB / 427.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.513e-05/0.3622, allocations: 0 / 427.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/0.3627, allocations: 193.7 kB / 427.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.3629, allocations: 197.5 kB / 427.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.3717, allocations: 5.268 MB / 432.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02685/0.3986, allocations: 21.26 MB / 454 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006451/0.4051, allocations: 5.573 MB / 459.6 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.4061, allocations: 0.6629 MB / 460.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.4064, allocations: 194.7 kB / 460.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4064, allocations: 43.56 kB / 460.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.877e-06/0.4064, allocations: 4 kB / 460.5 MB, free: 1.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002055/0.4085, allocations: 1.416 MB / 461.9 MB, free: 360 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.4085, allocations: 64.41 kB / 462 MB, free: 284 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.4109, allocations: 1.461 MB / 463.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.4109, allocations: 45.64 kB / 463.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.4122, allocations: 1.966 MB / 465.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.4125, allocations: 342.1 kB / 465.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006402/0.4132, allocations: 471.5 kB / 466.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4133, allocations: 357.9 kB / 466.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.4144, allocations: 0.8124 MB / 467.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.4162, allocations: 1.942 MB / 469.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.4192, allocations: 2.92 MB / 472.3 MB, free: 4.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/0.4192, allocations: 12 kB / 472.3 MB, free: 4.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.003775/0.423, allocations: 2.793 MB / 475.1 MB, free: 2.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.423, allocations: 24 kB / 475.1 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/0.4231, allocations: 36 kB / 475.1 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.11e-05/0.4231, allocations: 56 kB / 475.2 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.4247, allocations: 0.5342 MB / 475.7 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.006e-05/0.4247, allocations: 75.72 kB / 475.8 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4259, allocations: 297.1 kB / 476.1 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.4261, allocations: 124 kB / 476.2 MB, free: 0.8945 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002112/0.4282, allocations: 1.669 MB / 477.9 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.4284, allocations: 130.3 kB / 478 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4303, allocations: 1.342 MB / 479.3 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001131/0.4315, allocations: 0.9318 MB / 480.3 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.4315, allocations: 0 / 480.3 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4315, allocations: 7.922 kB / 480.3 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.4461, allocations: 13.49 MB / 493.8 MB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.4462, allocations: 20 kB / 493.8 MB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.4469, allocations: 215.6 kB / 494 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/0.4469, allocations: 28 kB / 494 MB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.447, allocations: 43.98 kB / 494.1 MB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-05/0.447, allocations: 39.86 kB / 494.1 MB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/0.447, allocations: 31.81 kB / 494.1 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.4498, allocations: 2.439 MB / 496.6 MB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.4503, allocations: 319.2 kB / 496.9 MB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.4506, allocations: 43.98 kB / 496.9 MB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.4513, allocations: 71.89 kB / 497 MB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.4515, allocations: 135.4 kB / 497.1 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.4515, allocations: 48 kB / 497.2 MB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001454/0.453, allocations: 0.9994 MB / 498.2 MB, free: 9.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.453, allocations: 0 / 498.2 MB, free: 9.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002967/0.456, allocations: 0.9436 MB / 499.1 MB, free: 8.711 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (voltageSource.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 (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004219/0.4602, allocations: 3.078 MB / 0.4904 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.4636, allocations: 1.877 MB / 0.4923 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.046e-05/0.4637, allocations: 0 / 0.4923 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009095/0.4646, allocations: 0.5721 MB / 0.4928 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.4672, allocations: 377.6 kB / 0.4932 GB, free: 2.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/0.4993, allocations: 20.23 MB / 0.5129 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/0.5031, allocations: 3.067 MB / 0.5159 GB, free: 9.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002155/0.5053, allocations: 0.821 MB / 0.5167 GB, free: 8.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.507, allocations: 1.257 MB / 0.518 GB, free: 7.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.507, allocations: 0 / 0.518 GB, free: 7.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/1.566, allocations: 41.25 MB / 0.5582 GB, free: 128.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/16.05, allocations: 13.42 kB / 0.5582 GB, free: 128.8 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches