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.001296/0.001296, allocations: 177.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008496, allocations: 99.73 kB / 292.1 MB, free: 10.93 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.3465/0.3465, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3984, allocations: 61.91 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.5275, allocations: 88.79 MB / 0.5963 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.5277, allocations: 67.94 kB / 0.5964 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.5391, allocations: 4.066 MB / 0.6004 GB, free: 2.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5392, allocations: 0 / 0.6004 GB, free: 2.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.5392, allocations: 4 kB / 0.6004 GB, free: 2.16 MB / 410.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.0008407/0.5401, allocations: 0.5067 MB / 0.6009 GB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5401, allocations: 8.031 kB / 0.6009 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/0.5402, allocations: 62.55 kB / 0.6009 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.5403, allocations: 23.72 kB / 0.601 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.5407, allocations: 261.1 kB / 0.6012 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.5407, allocations: 16.44 kB / 0.6012 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.5408, allocations: 16 kB / 0.6012 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.5411, allocations: 195.3 kB / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5412, allocations: 0 / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.5412, allocations: 8 kB / 0.6014 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5412, allocations: 8 kB / 0.6014 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.5415, allocations: 141.7 kB / 0.6016 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.5429, allocations: 0.8204 MB / 0.6024 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.5431, allocations: 98.5 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.5432, allocations: 224 / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.5432, allocations: 42.69 kB / 0.6025 GB, free: 15.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.5432, allocations: 3.938 kB / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001902/0.5451, allocations: 0.7433 MB / 0.6032 GB, free: 14.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5452, allocations: 51.41 kB / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.5454, allocations: 187 kB / 0.6035 GB, free: 14.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.5455, allocations: 33.7 kB / 0.6035 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5456, allocations: 159.8 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.5457, allocations: 71.08 kB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.5457, allocations: 4.094 kB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5459, allocations: 330.8 kB / 0.604 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.5461, allocations: 63.97 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.5462, allocations: 110.2 kB / 0.6042 GB, free: 13.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.5465, allocations: 77.31 kB / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5465, allocations: 0 / 0.6043 GB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005896/0.5471, allocations: 285.3 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.5471, allocations: 13.5 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5471, allocations: 8.094 kB / 0.6046 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.5474, allocations: 65.69 kB / 0.6046 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.5476, allocations: 35.97 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.5503, allocations: 2.828 MB / 0.6074 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.5505, allocations: 7.984 kB / 0.6074 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5505, allocations: 12 kB / 0.6075 GB, free: 10.32 MB / 426.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.0001712/0.5507, allocations: 137.8 kB / 0.6076 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.5507, allocations: 27.73 kB / 0.6076 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.5508, allocations: 25.86 kB / 0.6076 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.5508, allocations: 4 kB / 0.6076 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5508, allocations: 0 / 0.6076 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5508, allocations: 0 / 0.6076 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.5512, allocations: 289.5 kB / 0.6079 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5512, allocations: 0 / 0.6079 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.5513, allocations: 16.36 kB / 0.6079 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.5515, allocations: 81.56 kB / 0.608 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.5516, allocations: 0 / 0.608 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.5544, allocations: 2.813 MB / 0.6108 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5545, allocations: 4.406 kB / 0.6108 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.5552, allocations: 404.7 kB / 0.6111 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.5553, allocations: 100.9 kB / 0.6112 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.5553, allocations: 3.953 kB / 0.6112 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.5555, allocations: 23.98 kB / 0.6113 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.5556, allocations: 12.05 kB / 0.6113 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.5557, allocations: 15.98 kB / 0.6113 GB, free: 6.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.5558, allocations: 144.2 kB / 0.6114 GB, free: 5.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5558, allocations: 0 / 0.6114 GB, free: 5.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.5563, allocations: 68 kB / 0.6115 GB, free: 5.805 MB / 426.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.001125/0.5574, allocations: 0.9304 MB / 0.6124 GB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.5582, allocations: 413.2 kB / 0.6128 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5582, allocations: 0 / 0.6128 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.5587, allocations: 337.5 kB / 0.6131 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.559, allocations: 38.62 kB / 0.6132 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.5618, allocations: 2.158 MB / 0.6153 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.5622, allocations: 0.7518 MB / 0.616 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.5623, allocations: 13.95 kB / 0.616 GB, free: 1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.5624, allocations: 71.41 kB / 0.6161 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5624, allocations: 0 / 0.6161 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.5822, allocations: 4.422 MB / 0.6204 GB, free: 12.67 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.5825, allocations: 194.1 kB / 0.6206 GB, free: 12.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.436, allocations: 0 / 0.6206 GB, free: 12.43 MB / 442.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