Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009691/0.009691, allocations: 174.3 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.905/1.905, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002085/0.002085, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2805/0.2805, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004928, allocations: 14.28 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 54.88 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.2483, allocations: 82.25 MB / 0.5306 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.2486, allocations: 59.98 kB / 0.5307 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3003/0.5489, allocations: 3.886 MB / 0.5345 GB, free: 83.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.549, allocations: 0.7969 kB / 0.5345 GB, free: 83.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.549, allocations: 3.5 kB / 0.5345 GB, free: 83.09 MB / 378.7 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.001005/0.55, allocations: 0.5118 MB / 0.535 GB, free: 82.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5501, allocations: 9.188 kB / 0.535 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.857e-05/0.5502, allocations: 53.95 kB / 0.5351 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.827e-05/0.5503, allocations: 26.25 kB / 0.5351 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.5507, allocations: 251.1 kB / 0.5353 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5508, allocations: 16.75 kB / 0.5353 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.5509, allocations: 21.41 kB / 0.5354 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.5515, allocations: 188.9 kB / 0.5355 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5515, allocations: 0 / 0.5355 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.5515, allocations: 18.28 kB / 0.5356 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.5516, allocations: 5.5 kB / 0.5356 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.5521, allocations: 145.2 kB / 0.5357 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.5541, allocations: 0.8208 MB / 0.5365 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.5545, allocations: 90.16 kB / 0.5366 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.5545, allocations: 5.656 kB / 0.5366 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5546, allocations: 37.8 kB / 0.5366 GB, free: 81.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.517e-06/0.5546, allocations: 0 / 0.5366 GB, free: 81.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002774/0.5573, allocations: 0.7402 MB / 0.5374 GB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.5574, allocations: 53.23 kB / 0.5374 GB, free: 81.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.5577, allocations: 190.6 kB / 0.5376 GB, free: 81.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.5577, allocations: 30.77 kB / 0.5376 GB, free: 81.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5579, allocations: 165.2 kB / 0.5378 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.5579, allocations: 59.16 kB / 0.5378 GB, free: 81.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.558, allocations: 4.438 kB / 0.5378 GB, free: 81.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.558, allocations: 331.6 kB / 0.5382 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.5583, allocations: 69.38 kB / 0.5382 GB, free: 80.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.5586, allocations: 111.9 kB / 0.5383 GB, free: 80.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.5589, allocations: 72.05 kB / 0.5384 GB, free: 80.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5589, allocations: 0 / 0.5384 GB, free: 80.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009711/0.5599, allocations: 288.2 kB / 0.5387 GB, free: 80.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.5599, allocations: 6.219 kB / 0.5387 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.56, allocations: 0.9688 kB / 0.5387 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.5604, allocations: 72.22 kB / 0.5387 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.5607, allocations: 36.2 kB / 0.5388 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.5637, allocations: 2.837 MB / 0.5416 GB, free: 78.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.5642, allocations: 11.44 kB / 0.5416 GB, free: 78.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.5642, allocations: 7.109 kB / 0.5416 GB, free: 78.09 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.5645, allocations: 140.7 kB / 0.5417 GB, free: 77.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.5645, allocations: 17.78 kB / 0.5417 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.87e-05/0.5646, allocations: 28.02 kB / 0.5417 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5646, allocations: 2.031 kB / 0.5417 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.5647, allocations: 10.55 kB / 0.5418 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5647, allocations: 0.5625 kB / 0.5418 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.5652, allocations: 283.2 kB / 0.542 GB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5652, allocations: 3.281 kB / 0.542 GB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.5654, allocations: 18.42 kB / 0.542 GB, free: 77.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.5657, allocations: 70.48 kB / 0.5421 GB, free: 77.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.5658, allocations: 3.828 kB / 0.5421 GB, free: 77.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.5684, allocations: 2.821 MB / 0.5449 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5685, allocations: 1.109 kB / 0.5449 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5695, allocations: 400.9 kB / 0.5453 GB, free: 74.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.5697, allocations: 92.17 kB / 0.5453 GB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.5697, allocations: 5.094 kB / 0.5454 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.5701, allocations: 22.09 kB / 0.5454 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5702, allocations: 16.62 kB / 0.5454 GB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.5702, allocations: 8.094 kB / 0.5454 GB, free: 74.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.5704, allocations: 154.2 kB / 0.5455 GB, free: 74.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5704, allocations: 0 / 0.5455 GB, free: 74.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005493/0.571, allocations: 64.97 kB / 0.5456 GB, free: 74.65 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/0.5723, allocations: 0.9367 MB / 0.5465 GB, free: 73.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.5733, allocations: 426.5 kB / 0.5469 GB, free: 73.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5734, allocations: 0 / 0.5469 GB, free: 73.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006525/0.574, allocations: 331.9 kB / 0.5472 GB, free: 73.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.5745, allocations: 24.91 kB / 0.5473 GB, free: 73.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.5781, allocations: 2.156 MB / 0.5494 GB, free: 71.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5784, allocations: 0.7511 MB / 0.5501 GB, free: 70.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.5786, allocations: 17.86 kB / 0.5501 GB, free: 70.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.5787, allocations: 66.16 kB / 0.5502 GB, free: 70.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5787, allocations: 4 kB / 0.5502 GB, free: 70.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.6138, allocations: 4.408 MB / 0.5545 GB, free: 69.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.6142, allocations: 194.1 kB / 0.5547 GB, free: 68.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.181, allocations: 4 kB / 0.5547 GB, free: 68.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat