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.001252/0.001252, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 247 MB, free: 10.48 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.2245/0.2245, allocations: 46.12 MB / 344.3 MB, free: 11.48 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.002214/0.002214, allocations: 83.86 kB / 480.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3573, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.005327/0.3627, allocations: 2.586 MB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3641, allocations: 0.6723 MB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3642, allocations: 3.562 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3644, allocations: 43.45 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.3646, allocations: 71.64 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.3649, allocations: 80.66 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.3653, allocations: 287.3 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.3655, allocations: 90.08 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.3658, allocations: 117.2 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.366, allocations: 122.2 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.366, allocations: 23.72 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.3661, allocations: 28.38 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.3662, allocations: 50.36 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.3663, allocations: 123.9 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.3667, allocations: 289.4 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3667, allocations: 1.375 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3667, allocations: 4 kB / 0.535 GB, free: 9.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3667, allocations: 0 / 0.535 GB, free: 9.91 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.0008472/0.3676, allocations: 0.5403 MB / 0.5356 GB, free: 9.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3676, allocations: 9.625 kB / 0.5356 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.3677, allocations: 57.59 kB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.3679, allocations: 37.42 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3682, allocations: 258 kB / 0.5359 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3683, allocations: 17.06 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.3683, allocations: 20.75 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.3687, allocations: 190.8 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3687, allocations: 1.125 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.3688, allocations: 14.16 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3688, allocations: 4.375 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.3691, allocations: 141.1 kB / 0.5363 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3705, allocations: 0.8081 MB / 0.5371 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.3707, allocations: 95.7 kB / 0.5372 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3708, allocations: 48.47 kB / 0.5372 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3708, allocations: 5.031 kB / 0.5372 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3709, allocations: 39.78 kB / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3709, allocations: 0 / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001852/0.3727, allocations: 0.7292 MB / 0.538 GB, free: 7.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3728, allocations: 52.75 kB / 0.538 GB, free: 7.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3731, allocations: 211.7 kB / 0.5382 GB, free: 7.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3731, allocations: 31.17 kB / 0.5382 GB, free: 7.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3732, allocations: 173.2 kB / 0.5384 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.3733, allocations: 54.25 kB / 0.5385 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.3734, allocations: 44.16 kB / 0.5385 GB, free: 6.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3736, allocations: 334 kB / 0.5388 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3737, allocations: 60.06 kB / 0.5389 GB, free: 6.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.3739, allocations: 103.5 kB / 0.539 GB, free: 6.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.3743, allocations: 178.4 kB / 0.5391 GB, free: 6.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3743, allocations: 1.219 kB / 0.5391 GB, free: 6.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005519/0.3748, allocations: 284 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3749, allocations: 5.688 kB / 0.5394 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3749, allocations: 6.109 kB / 0.5394 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.3751, allocations: 71.36 kB / 0.5395 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3753, allocations: 27.73 kB / 0.5395 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.378, allocations: 3.02 MB / 0.5425 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.3782, allocations: 12.39 kB / 0.5425 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3782, allocations: 6.281 kB / 0.5425 GB, free: 3.141 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.000153/0.3784, allocations: 141.2 kB / 0.5426 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.3784, allocations: 18.19 kB / 0.5426 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.3785, allocations: 26.33 kB / 0.5427 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3785, allocations: 1.375 kB / 0.5427 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3785, allocations: 2.281 kB / 0.5427 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3785, allocations: 0 / 0.5427 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.3789, allocations: 296.1 kB / 0.543 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3789, allocations: 0 / 0.543 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.379, allocations: 16.05 kB / 0.543 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.3792, allocations: 70.73 kB / 0.543 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3792, allocations: 8 kB / 0.543 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.3819, allocations: 3.012 MB / 0.546 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3819, allocations: 1.531 kB / 0.546 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.3826, allocations: 401.4 kB / 0.5464 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.3827, allocations: 97.5 kB / 0.5465 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.3827, allocations: 10.2 kB / 0.5465 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3829, allocations: 13.3 kB / 0.5465 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.383, allocations: 15.14 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.383, allocations: 7.312 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3832, allocations: 152.1 kB / 0.5467 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3832, allocations: 0 / 0.5467 GB, free: 15.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.3836, allocations: 69.19 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.0009887/0.3846, allocations: 0.928 MB / 0.5476 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.3853, allocations: 404.7 kB / 0.548 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3853, allocations: 1.469 kB / 0.548 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.3858, allocations: 333.1 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.0003296/0.3861, allocations: 34.28 kB / 0.5484 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.3895, allocations: 2.49 MB / 0.5508 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.39, allocations: 0.7468 MB / 0.5515 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.098e-05/0.3901, allocations: 17.7 kB / 0.5515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3902, allocations: 67.62 kB / 0.5516 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3902, allocations: 1.125 kB / 0.5516 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.4255, allocations: 5.028 MB / 0.5565 GB, free: 6.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.55, allocations: 3.984 kB / 0.5565 GB, free: 6.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)