Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001929/0.001934, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002266/0.002266, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002688, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3717, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004447/0.3762, allocations: 2.582 MB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3779, allocations: 0.6705 MB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.378, allocations: 7.188 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3782, allocations: 38.42 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3784, allocations: 74.92 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.3788, allocations: 77.47 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.3793, allocations: 295.6 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3796, allocations: 85.5 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.3799, allocations: 118.4 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3801, allocations: 116.5 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.3802, allocations: 23.38 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3803, allocations: 30.12 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.3804, allocations: 49.33 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3806, allocations: 128.6 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.3812, allocations: 293.7 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3812, allocations: 4 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3812, allocations: 0 / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3812, allocations: 0 / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001173/0.3824, allocations: 0.5368 MB / 0.5356 GB, free: 9.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.215e-05/0.3825, allocations: 14.17 kB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3826, allocations: 57.52 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.3828, allocations: 40.34 kB / 0.5357 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.3835, allocations: 253.8 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.3835, allocations: 21.73 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.3836, allocations: 21.28 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.3842, allocations: 191.4 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3842, allocations: 0 / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.3842, allocations: 10.34 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.3843, allocations: 12.22 kB / 0.5362 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.3847, allocations: 141.7 kB / 0.5363 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.3866, allocations: 0.8003 MB / 0.5371 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3869, allocations: 99.83 kB / 0.5372 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.387, allocations: 47.47 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3871, allocations: 1.125 kB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.3871, allocations: 39.66 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.3871, allocations: 0 / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.002517/0.3896, allocations: 0.7248 MB / 0.538 GB, free: 7.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.3897, allocations: 57.61 kB / 0.538 GB, free: 7.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.3901, allocations: 207.4 kB / 0.5382 GB, free: 7.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.3901, allocations: 31.23 kB / 0.5382 GB, free: 7.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3903, allocations: 172.8 kB / 0.5384 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.3904, allocations: 58.42 kB / 0.5385 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3905, allocations: 40.05 kB / 0.5385 GB, free: 6.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3907, allocations: 335.4 kB / 0.5388 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.3909, allocations: 59.06 kB / 0.5389 GB, free: 6.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3912, allocations: 112.2 kB / 0.539 GB, free: 6.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.3916, allocations: 171.6 kB / 0.5391 GB, free: 6.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3916, allocations: 0 / 0.5391 GB, free: 6.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007523/0.3924, allocations: 284 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3924, allocations: 5.469 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3925, allocations: 1.188 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/0.3928, allocations: 71.86 kB / 0.5395 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.393, allocations: 31.98 kB / 0.5395 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.3966, allocations: 3.028 MB / 0.5425 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3968, allocations: 8.219 kB / 0.5425 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3969, allocations: 6.281 kB / 0.5425 GB, free: 3.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.3971, allocations: 137.1 kB / 0.5426 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.3972, allocations: 22 kB / 0.5426 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.3973, allocations: 26.23 kB / 0.5427 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3973, allocations: 2.156 kB / 0.5427 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.3973, allocations: 2.312 kB / 0.5427 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3973, allocations: 0 / 0.5427 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3978, allocations: 284.2 kB / 0.5429 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3978, allocations: 4.594 kB / 0.5429 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3979, allocations: 23.91 kB / 0.543 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.3982, allocations: 74.08 kB / 0.543 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3983, allocations: 4.969 kB / 0.543 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.4018, allocations: 3.015 MB / 0.546 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4018, allocations: 1.094 kB / 0.546 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.4028, allocations: 405.9 kB / 0.5464 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4029, allocations: 102.6 kB / 0.5465 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.403, allocations: 4 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.4032, allocations: 15.05 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.4033, allocations: 14.55 kB / 0.5465 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.4033, allocations: 3.219 kB / 0.5465 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.4036, allocations: 156.5 kB / 0.5467 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4036, allocations: 4.062 kB / 0.5467 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.4042, allocations: 63.56 kB / 0.5467 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.4054, allocations: 0.9215 MB / 0.5476 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.4064, allocations: 404.6 kB / 0.548 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.4064, allocations: 1.312 kB / 0.548 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.407, allocations: 333.9 kB / 0.5483 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.4075, allocations: 25.59 kB / 0.5484 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.4116, allocations: 2.495 MB / 0.5508 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.4121, allocations: 0.7469 MB / 0.5515 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.4122, allocations: 18.14 kB / 0.5515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4123, allocations: 66.56 kB / 0.5516 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4123, allocations: 1.125 kB / 0.5516 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.4552, allocations: 5.035 MB / 0.5565 GB, free: 6.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.64, allocations: 3.984 kB / 0.5565 GB, free: 6.039 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)