Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009073/0.0009071, allocations: 84.44 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.066e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6508, allocations: 88.06 MB / 0.5807 GB, free: 8.305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.6511, allocations: 63.97 kB / 0.5808 GB, free: 8.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01153/0.6626, allocations: 4.024 MB / 0.5847 GB, free: 4.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6627, allocations: 4 kB / 0.5847 GB, free: 4.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.6628, allocations: 8 kB / 0.5848 GB, free: 4.195 MB / 394.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.0008873/0.6637, allocations: 490.2 kB / 0.5852 GB, free: 3.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001172/0.6638, allocations: 15.98 kB / 0.5852 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.6639, allocations: 31.66 kB / 0.5853 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.6643, allocations: 248.6 kB / 0.5855 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.6644, allocations: 11.94 kB / 0.5855 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.6644, allocations: 12 kB / 0.5855 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000289/0.6647, allocations: 112.9 kB / 0.5856 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.6651, allocations: 150.5 kB / 0.5858 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6651, allocations: 0 / 0.5858 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.6651, allocations: 0 / 0.5858 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.6651, allocations: 4 kB / 0.5858 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.6665, allocations: 0.7748 MB / 0.5865 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.6667, allocations: 86.55 kB / 0.5866 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.6668, allocations: 37.05 kB / 0.5867 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.6668, allocations: 7.891 kB / 0.5867 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6669, allocations: 38.56 kB / 0.5867 GB, free: 2.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.6669, allocations: 4 kB / 0.5867 GB, free: 2.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001669/0.6686, allocations: 0.5952 MB / 0.5873 GB, free: 1.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.6686, allocations: 56.16 kB / 0.5873 GB, free: 1.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.6689, allocations: 169.8 kB / 0.5875 GB, free: 1.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.6689, allocations: 25.7 kB / 0.5875 GB, free: 1.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.6691, allocations: 168 kB / 0.5877 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.6692, allocations: 59.14 kB / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.6692, allocations: 0 / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6694, allocations: 326.8 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.6695, allocations: 48 kB / 0.5881 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.6697, allocations: 89.45 kB / 0.5882 GB, free: 396 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.6698, allocations: 66.16 kB / 0.5882 GB, free: 332 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6698, allocations: 0 / 0.5882 GB, free: 332 kB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004802/0.6703, allocations: 234.9 kB / 0.5885 GB, free: 84 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6703, allocations: 7.938 kB / 0.5885 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6704, allocations: 4 kB / 0.5885 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.6706, allocations: 73.83 kB / 0.5886 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.6708, allocations: 31.88 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.6734, allocations: 2.685 MB / 0.5912 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.6735, allocations: 8.094 kB / 0.5912 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.6736, allocations: 12 kB / 0.5912 GB, free: 13.03 MB / 410.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 () * 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.000141/0.6737, allocations: 107.9 kB / 0.5913 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003563/0.6741, allocations: 186.9 kB / 0.5915 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.6741, allocations: 27.72 kB / 0.5915 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.6742, allocations: 21.95 kB / 0.5916 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6742, allocations: 3.953 kB / 0.5916 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6742, allocations: 0 / 0.5916 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6742, allocations: 4 kB / 0.5916 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.6745, allocations: 242.1 kB / 0.5918 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.6745, allocations: 0 / 0.5918 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.6746, allocations: 12 kB / 0.5918 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.6748, allocations: 69.67 kB / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.6748, allocations: 0 / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.677, allocations: 2.673 MB / 0.5945 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.677, allocations: 8.094 kB / 0.5945 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.6775, allocations: 350.1 kB / 0.5948 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.6775, allocations: 92.94 kB / 0.5949 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.6776, allocations: 0 / 0.5949 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.6777, allocations: 20.05 kB / 0.5949 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.6778, allocations: 15.98 kB / 0.5949 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.6778, allocations: 4 kB / 0.5949 GB, free: 8.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.678, allocations: 144 kB / 0.5951 GB, free: 8.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.678, allocations: 0 / 0.5951 GB, free: 8.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.6783, allocations: 60 kB / 0.5951 GB, free: 8.691 MB / 410.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 () * 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.0007676/0.6791, allocations: 0.8796 MB / 0.596 GB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.6797, allocations: 367.5 kB / 0.5964 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6797, allocations: 224 / 0.5964 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.68, allocations: 291.4 kB / 0.5966 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6803, allocations: 16.17 kB / 0.5966 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.6812, allocations: 387.2 kB / 0.597 GB, free: 6.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.6816, allocations: 0.7516 MB / 0.5977 GB, free: 5.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.6817, allocations: 21.84 kB / 0.5978 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.6818, allocations: 67.41 kB / 0.5978 GB, free: 5.785 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6818, allocations: 0 / 0.5978 GB, free: 5.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.7066, allocations: 3.733 MB / 0.6015 GB, free: 2.078 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003533/0.707, allocations: 138.8 kB / 0.6016 GB, free: 1.883 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.494, allocations: 0 / 0.6016 GB, free: 1.883 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat