Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007754/0.0007753, allocations: 82.75 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.301e-05, allocations: 3.938 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07404/0.07407, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3572, allocations: 85.66 MB / 455.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3574, allocations: 80.95 kB / 455.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06441/0.4218, allocations: 29.02 MB / 484.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4219, allocations: 0 / 484.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.389e-05/0.4219, allocations: 16 kB / 484.9 MB, free: 11.68 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002201/0.4241, allocations: 1.076 MB / 486 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4242, allocations: 12.03 kB / 486 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.4243, allocations: 164.9 kB / 486.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.4288, allocations: 0.7091 MB / 486.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.4295, allocations: 452.8 kB / 487.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.4296, allocations: 82.17 kB / 487.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.4297, allocations: 108 kB / 487.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.4315, allocations: 1.078 MB / 488.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.4315, allocations: 0 / 488.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/0.4317, allocations: 52 kB / 488.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.4317, allocations: 24 kB / 488.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.4334, allocations: 1.078 MB / 489.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005636/0.439, allocations: 4.062 MB / 493.8 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.4421, allocations: 3.734 MB / 497.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.4426, allocations: 297.8 kB / 497.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.4427, allocations: 101.6 kB / 497.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.4427, allocations: 47.06 kB / 497.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=71): time 2.846e-06/0.4427, allocations: 0 / 497.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008676/0.4436, allocations: 0.5025 MB / 498.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.4437, allocations: 119.3 kB / 498.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.444, allocations: 286.4 kB / 498.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.4441, allocations: 41.69 kB / 498.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.4443, allocations: 450 kB / 499.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.4445, allocations: 240.5 kB / 499.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.4445, allocations: 20 kB / 499.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4447, allocations: 354.8 kB / 499.9 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.4451, allocations: 218 kB / 0.4884 GB, free: 11.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.4456, allocations: 0.5281 MB / 0.4889 GB, free: 10.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.4461, allocations: 313.9 kB / 0.4892 GB, free: 10.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4461, allocations: 8 kB / 0.4892 GB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00119/0.4473, allocations: 0.8475 MB / 0.4901 GB, free: 9.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.4474, allocations: 20.14 kB / 0.4901 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4474, allocations: 15.98 kB / 0.4901 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.4474, allocations: 19.98 kB / 0.4901 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/0.4482, allocations: 235.6 kB / 0.4903 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.4483, allocations: 23.92 kB / 0.4904 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.4488, allocations: 98.97 kB / 0.4905 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.4488, allocations: 51.98 kB / 0.4905 GB, free: 8.969 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.449, allocations: 160.6 kB / 0.4907 GB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4491, allocations: 51.44 kB / 0.4907 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4502, allocations: 0.6496 MB / 0.4914 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4502, allocations: 8 kB / 0.4914 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4502, allocations: 4 kB / 0.4914 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.4502, allocations: 3.984 kB / 0.4914 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.4524, allocations: 1.547 MB / 0.4929 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4524, allocations: 0 / 0.4929 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.453, allocations: 151.8 kB / 0.493 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.453, allocations: 4 kB / 0.493 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.453, allocations: 16 kB / 0.493 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.453, allocations: 7.953 kB / 0.493 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4531, allocations: 4 kB / 0.4931 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.4544, allocations: 1.115 MB / 0.4941 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4545, allocations: 140.3 kB / 0.4943 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.4546, allocations: 12 kB / 0.4943 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.4549, allocations: 31.98 kB / 0.4943 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.455, allocations: 48.72 kB / 0.4944 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4551, allocations: 20 kB / 0.4944 GB, free: 4.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.4553, allocations: 210.2 kB / 0.4946 GB, free: 4.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4553, allocations: 0 / 0.4946 GB, free: 4.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.4562, allocations: 259 kB / 0.4948 GB, free: 4.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/0.4579, allocations: 1.868 MB / 0.4967 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.459, allocations: 0.6424 MB / 0.4973 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.459, allocations: 4 kB / 0.4973 GB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.4594, allocations: 300.4 kB / 0.4976 GB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4597, allocations: 37.72 kB / 0.4976 GB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.4638, allocations: 1.713 MB / 0.4993 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.4643, allocations: 0.9439 MB / 0.5002 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.4647, allocations: 88.89 kB / 0.5003 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.4651, allocations: 287.3 kB / 0.5006 GB, free: 14.45 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4651, allocations: 0 / 0.5006 GB, free: 14.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.4879, allocations: 9.983 MB / 0.5103 GB, free: 4.457 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.4882, allocations: 188.3 kB / 0.5105 GB, free: 4.219 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.602, allocations: 0 / 0.5105 GB, free: 4.219 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat