Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009682/0.009682, allocations: 165.7 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.583/1.583, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001965/0.001965, allocations: 111.4 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4671/0.4671, allocations: 38.05 MB / 303.7 MB, free: 42.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004587, allocations: 16 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1002, allocations: 48.7 MB / 411.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.5148, allocations: 76 MB / 487.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.515, allocations: 68.19 kB / 487.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01525/0.5303, allocations: 3.936 MB / 491.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5304, allocations: 0 / 491.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.5304, allocations: 8 kB / 491.7 MB, free: 8.383 MB / 330.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.0008957/0.5313, allocations: 0.5088 MB / 492.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5313, allocations: 12.03 kB / 492.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.895e-05/0.5314, allocations: 63.05 kB / 492.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.5315, allocations: 27.72 kB / 492.3 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.5319, allocations: 247.7 kB / 492.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5319, allocations: 16.47 kB / 492.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.532, allocations: 22.62 kB / 492.6 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.5325, allocations: 185.3 kB / 492.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5325, allocations: 0 / 492.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.5325, allocations: 10.69 kB / 492.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5325, allocations: 8 kB / 492.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.533, allocations: 145.5 kB / 492.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.5347, allocations: 0.8262 MB / 493.7 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.5349, allocations: 99.05 kB / 493.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.535, allocations: 4 kB / 493.8 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.535, allocations: 30.56 kB / 493.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/0.535, allocations: 0 / 493.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002411/0.5374, allocations: 0.7537 MB / 494.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5375, allocations: 51.41 kB / 494.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.5377, allocations: 189.4 kB / 494.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.5378, allocations: 33.58 kB / 494.9 MB, free: 5.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.5379, allocations: 166.5 kB / 495.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.5379, allocations: 58.95 kB / 495.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.5379, allocations: 3.875 kB / 495.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.538, allocations: 334.6 kB / 495.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5382, allocations: 63.16 kB / 495.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.5385, allocations: 108.8 kB / 495.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.5388, allocations: 74.98 kB / 495.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5388, allocations: 0 / 495.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007884/0.5396, allocations: 292.3 kB / 496 MB, free: 4.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.5396, allocations: 4 kB / 496 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5396, allocations: 12.09 kB / 496 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/0.54, allocations: 69.33 kB / 496.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.5403, allocations: 31.98 kB / 496.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.5427, allocations: 2.833 MB / 498.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.5431, allocations: 7.562 kB / 498.9 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.5431, allocations: 11.56 kB / 498.9 MB, free: 1.441 MB / 330.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.0001843/0.5433, allocations: 143.9 kB / 499.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.5434, allocations: 15.81 kB / 499.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.5434, allocations: 25.45 kB / 499.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5434, allocations: 4 kB / 499.1 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5435, allocations: 0 / 499.1 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5435, allocations: 384 / 499.1 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.5438, allocations: 292.2 kB / 499.4 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5439, allocations: 4 kB / 499.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5441, allocations: 15.98 kB / 499.4 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.5444, allocations: 75.92 kB / 499.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.5444, allocations: 3.562 kB / 499.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.5475, allocations: 2.823 MB / 0.4906 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5475, allocations: 4 kB / 0.4906 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5487, allocations: 402.1 kB / 0.4909 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5488, allocations: 107.7 kB / 0.491 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5489, allocations: 4 kB / 0.491 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.5492, allocations: 19.61 kB / 0.4911 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.5493, allocations: 23.59 kB / 0.4911 GB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.5494, allocations: 4 kB / 0.4911 GB, free: 13.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.5496, allocations: 152.6 kB / 0.4912 GB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5496, allocations: 0 / 0.4912 GB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005546/0.5502, allocations: 67.12 kB / 0.4913 GB, free: 13.32 MB / 346.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.001515/0.5517, allocations: 0.9312 MB / 0.4922 GB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.5528, allocations: 420.2 kB / 0.4926 GB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5528, allocations: 320 / 0.4926 GB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.5536, allocations: 342.1 kB / 0.4929 GB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.554, allocations: 20.88 kB / 0.493 GB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.558, allocations: 2.153 MB / 0.4951 GB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.5586, allocations: 0.7557 MB / 0.4958 GB, free: 8.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.5591, allocations: 17.95 kB / 0.4958 GB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.5595, allocations: 67.91 kB / 0.4959 GB, free: 8.852 MB / 346.7 MB Notification: Performance of SimCode: time 2.635e-06/0.5596, allocations: 0 / 0.4959 GB, free: 8.852 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.5901, allocations: 4.431 MB / 0.5002 GB, free: 4.52 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.5905, allocations: 195.5 kB / 0.5004 GB, free: 4.277 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.057, allocations: 0 / 0.5004 GB, free: 4.277 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat