Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_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.001521/0.001521, allocations: 117.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 207.8 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003561/0.003561, allocations: 75.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3261, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003583/0.3298, allocations: 2.578 MB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3308, allocations: 0.6757 MB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3309, allocations: 5.5 kB / 0.5337 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3311, allocations: 38.77 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3312, allocations: 74.47 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3315, allocations: 77.45 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.3318, allocations: 295.6 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.332, allocations: 86.88 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.3322, allocations: 121 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3324, allocations: 117.8 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.3325, allocations: 22 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.3325, allocations: 26.12 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.3326, allocations: 49.34 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3327, allocations: 132.6 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.3331, allocations: 285.5 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3331, allocations: 4 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3331, allocations: 0.6562 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3331, allocations: 0 / 0.535 GB, free: 9.898 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.0008071/0.3339, allocations: 0.5376 MB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.334, allocations: 13.06 kB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.334, allocations: 61.61 kB / 0.5356 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.3342, allocations: 37 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3345, allocations: 249.4 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3345, allocations: 17.88 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3346, allocations: 17.84 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.335, allocations: 198.4 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.335, allocations: 0 / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.335, allocations: 14.12 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.335, allocations: 4.844 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.3353, allocations: 145.2 kB / 0.5363 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3366, allocations: 0.8039 MB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3368, allocations: 95.8 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.3369, allocations: 51.91 kB / 0.5372 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3369, allocations: 5.156 kB / 0.5372 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3369, allocations: 32.72 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.337, allocations: 0 / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001735/0.3387, allocations: 0.7263 MB / 0.5379 GB, free: 7.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3387, allocations: 57.34 kB / 0.538 GB, free: 7.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.339, allocations: 211.1 kB / 0.5382 GB, free: 7.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.339, allocations: 34.67 kB / 0.5382 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3391, allocations: 169.4 kB / 0.5384 GB, free: 7.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.3392, allocations: 50.88 kB / 0.5384 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.3392, allocations: 47 kB / 0.5385 GB, free: 6.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3394, allocations: 335.3 kB / 0.5388 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3395, allocations: 59.66 kB / 0.5389 GB, free: 6.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3397, allocations: 104.1 kB / 0.539 GB, free: 6.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.34, allocations: 182.6 kB / 0.5391 GB, free: 6.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.34, allocations: 0 / 0.5391 GB, free: 6.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005232/0.3406, allocations: 284.1 kB / 0.5394 GB, free: 6.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3406, allocations: 6 kB / 0.5394 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3406, allocations: 9.75 kB / 0.5394 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.3408, allocations: 71.05 kB / 0.5395 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.341, allocations: 32.16 kB / 0.5395 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/0.3435, allocations: 3.019 MB / 0.5425 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3437, allocations: 9.672 kB / 0.5425 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3437, allocations: 13.5 kB / 0.5425 GB, free: 3.121 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.0001333/0.3438, allocations: 144.6 kB / 0.5426 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.3439, allocations: 17.09 kB / 0.5426 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.3439, allocations: 26.02 kB / 0.5427 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.344, allocations: 2.188 kB / 0.5427 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.344, allocations: 1.219 kB / 0.5427 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.344, allocations: 1.125 kB / 0.5427 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.3443, allocations: 291.8 kB / 0.5429 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3443, allocations: 0 / 0.5429 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.3444, allocations: 20.17 kB / 0.543 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.3446, allocations: 74.17 kB / 0.543 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3446, allocations: 6.031 kB / 0.543 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.3471, allocations: 3.012 MB / 0.546 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3471, allocations: 0 / 0.546 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.3477, allocations: 411.8 kB / 0.5464 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.3478, allocations: 92.97 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3478, allocations: 5.281 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.348, allocations: 14.61 kB / 0.5465 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.3481, allocations: 22.66 kB / 0.5465 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3481, allocations: 4.375 kB / 0.5465 GB, free: 15.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.3483, allocations: 155.2 kB / 0.5467 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3483, allocations: 0 / 0.5467 GB, free: 15.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.3486, allocations: 64.56 kB / 0.5467 GB, free: 15.04 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.0009387/0.3496, allocations: 0.9235 MB / 0.5476 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006475/0.3503, allocations: 405.9 kB / 0.548 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3503, allocations: 5.188 kB / 0.548 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.3507, allocations: 325 kB / 0.5483 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.351, allocations: 28.2 kB / 0.5483 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.3543, allocations: 2.492 MB / 0.5508 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3547, allocations: 0.7471 MB / 0.5515 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.558e-05/0.3548, allocations: 18.05 kB / 0.5515 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3549, allocations: 68.03 kB / 0.5516 GB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3549, allocations: 0 / 0.5516 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.3872, allocations: 5.011 MB / 0.5565 GB, free: 6.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.472/9.86, allocations: 11.91 kB / 0.5565 GB, free: 6.031 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)