Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001593, allocations: 113.2 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002248/0.002248, allocations: 204.6 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006553/0.2978, allocations: 5.916 MB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.3016, allocations: 2.123 MB / 416.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.3022, allocations: 39.81 kB / 416.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009238/0.3032, allocations: 397.4 kB / 417.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.3045, allocations: 0.571 MB / 417.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3049, allocations: 227.7 kB / 418 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.307, allocations: 2.225 MB / 420.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.3091, allocations: 2.22 MB / 422.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.311, allocations: 1.066 MB / 423.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3124, allocations: 1.214 MB / 424.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.3127, allocations: 288 kB / 425 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005674/0.3133, allocations: 375.8 kB / 425.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005534/0.3138, allocations: 0.7052 MB / 426.1 MB, free: 88 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.3151, allocations: 1.229 MB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.3185, allocations: 3.799 MB / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3185, allocations: 0 / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3185, allocations: 0 / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.265e-05/0.3186, allocations: 0 / 431.1 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004151/0.3227, allocations: 2.444 MB / 433.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3228, allocations: 8.031 kB / 433.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003204/0.3231, allocations: 278.1 kB / 433.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009005/0.324, allocations: 287.5 kB / 434.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.3263, allocations: 1.377 MB / 435.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.3264, allocations: 131.5 kB / 435.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.3266, allocations: 172 kB / 435.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.3303, allocations: 2.551 MB / 438.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3304, allocations: 0 / 438.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.3305, allocations: 75.98 kB / 438.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.593e-05/0.3306, allocations: 99.58 kB / 438.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/0.3339, allocations: 2.11 MB / 440.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.3442, allocations: 7.377 MB / 448 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.3456, allocations: 1.27 MB / 449.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006902/0.3463, allocations: 478.9 kB / 449.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.3465, allocations: 113.6 kB / 449.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.3466, allocations: 47 kB / 449.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.524e-06/0.3466, allocations: 0 / 449.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003847/0.3504, allocations: 2.287 MB / 452.2 MB, free: 5.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3505, allocations: 89.55 kB / 452.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.3524, allocations: 1.517 MB / 453.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.3525, allocations: 41.7 kB / 453.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/0.3531, allocations: 1.002 MB / 454.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.3533, allocations: 206.4 kB / 455 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.3536, allocations: 246.7 kB / 455.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3537, allocations: 354 kB / 455.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.3544, allocations: 462.2 kB / 456.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.3554, allocations: 1.087 MB / 457.2 MB, free: 0 / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.3572, allocations: 1.623 MB / 458.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.3572, allocations: 4 kB / 458.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002615/0.3598, allocations: 1.699 MB / 460.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3599, allocations: 12 kB / 460.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.3599, allocations: 24 kB / 460.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.3606, allocations: 173 kB / 460.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/0.3615, allocations: 291.5 kB / 461 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.364, allocations: 2.357 MB / 463.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3651, allocations: 83.83 kB / 463.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.3652, allocations: 67.98 kB / 463.5 MB, free: 9.211 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.3663, allocations: 0.7151 MB / 464.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.3665, allocations: 147.1 kB / 464.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.3679, allocations: 0.8335 MB / 465.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3679, allocations: 4 kB / 465.2 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3679, allocations: 4 kB / 465.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3679, allocations: 7.922 kB / 465.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.3714, allocations: 2.495 MB / 467.7 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3715, allocations: 3.984 kB / 467.7 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.3718, allocations: 104.1 kB / 467.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/0.3724, allocations: 144.7 kB / 467.9 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.3725, allocations: 19.98 kB / 468 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.3746, allocations: 2.314 MB / 470.3 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3746, allocations: 4 kB / 470.3 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.3765, allocations: 1.329 MB / 471.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.377, allocations: 288.2 kB / 471.9 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.3772, allocations: 16 kB / 471.9 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.3777, allocations: 39.97 kB / 471.9 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3779, allocations: 55.88 kB / 472 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.3779, allocations: 16 kB / 472 MB, free: 364 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00145/0.3794, allocations: 1.04 MB / 473.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3794, allocations: 4 kB / 473.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00135/0.3807, allocations: 355.9 kB / 473.4 MB, free: 14.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002485/0.3832, allocations: 1.959 MB / 475.4 MB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.3851, allocations: 1.153 MB / 476.5 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3851, allocations: 3.953 kB / 476.5 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.3858, allocations: 0.5061 MB / 477 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.3874, allocations: 383.2 kB / 477.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/0.4092, allocations: 13.94 MB / 491.3 MB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.4108, allocations: 1.71 MB / 493 MB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001036/0.4118, allocations: 319.4 kB / 493.4 MB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/0.4126, allocations: 0.6164 MB / 494 MB, free: 9.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4126, allocations: 0 / 494 MB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08664/0.4992, allocations: 33.86 MB / 0.5155 GB, free: 7.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.38, allocations: 0 / 0.5155 GB, free: 7.895 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches