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.001715/0.001715, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.654/1.654, allocations: 221.3 MB / 236 MB, free: 2.949 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.0009493/0.0009493, allocations: 84.05 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.272/0.272, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.55e-05/4.56e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6583, allocations: 88.72 MB / 0.5884 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.6585, allocations: 63.97 kB / 0.5885 GB, free: 476 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.6694, allocations: 4.072 MB / 0.5925 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6694, allocations: 4 kB / 0.5925 GB, free: 12.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.6694, allocations: 4 kB / 0.5925 GB, free: 12.38 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.0006826/0.6701, allocations: 490.2 kB / 0.5929 GB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.6702, allocations: 8.031 kB / 0.5929 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/0.6702, allocations: 58.55 kB / 0.593 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.6703, allocations: 30.67 kB / 0.593 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.6706, allocations: 247.5 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.6707, allocations: 24.44 kB / 0.5933 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.6707, allocations: 16 kB / 0.5933 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.671, allocations: 183.3 kB / 0.5935 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6711, allocations: 0 / 0.5935 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.6711, allocations: 12 kB / 0.5935 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6711, allocations: 4 kB / 0.5935 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.6713, allocations: 125.7 kB / 0.5936 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.6726, allocations: 0.8181 MB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.6728, allocations: 98.52 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.6729, allocations: 36.86 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.6729, allocations: 4 kB / 0.5945 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6729, allocations: 34.56 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.6729, allocations: 0 / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001405/0.6743, allocations: 0.6449 MB / 0.5952 GB, free: 9.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6744, allocations: 51.41 kB / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.6746, allocations: 183.1 kB / 0.5954 GB, free: 9.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.6746, allocations: 33.7 kB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6747, allocations: 167.8 kB / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.6748, allocations: 59.17 kB / 0.5957 GB, free: 8.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.6748, allocations: 8 kB / 0.5957 GB, free: 8.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.675, allocations: 326.8 kB / 0.596 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.6751, allocations: 48 kB / 0.596 GB, free: 8.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.6752, allocations: 101.1 kB / 0.5961 GB, free: 8.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.6754, allocations: 62 kB / 0.5962 GB, free: 8.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6754, allocations: 3.828 kB / 0.5962 GB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004365/0.6758, allocations: 259 kB / 0.5965 GB, free: 7.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6758, allocations: 9.094 kB / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6758, allocations: 0 / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002405/0.6761, allocations: 73.67 kB / 0.5965 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.6763, allocations: 31.92 kB / 0.5966 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6786, allocations: 2.801 MB / 0.5993 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.6788, allocations: 16.02 kB / 0.5993 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.6788, allocations: 4.062 kB / 0.5993 GB, free: 4.766 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 9.132e-05/0.6789, allocations: 117 kB / 0.5994 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.679, allocations: 23.77 kB / 0.5994 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.679, allocations: 25.64 kB / 0.5995 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.679, allocations: 0 / 0.5995 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6791, allocations: 4 kB / 0.5995 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6791, allocations: 0 / 0.5995 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.6794, allocations: 281.5 kB / 0.5997 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6794, allocations: 4 kB / 0.5997 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.6795, allocations: 27.88 kB / 0.5998 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.6797, allocations: 65.69 kB / 0.5998 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.6797, allocations: 3.984 kB / 0.5998 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.682, allocations: 2.792 MB / 0.6026 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.682, allocations: 0 / 0.6026 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.6825, allocations: 369.5 kB / 0.6029 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.6826, allocations: 89.33 kB / 0.603 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.6827, allocations: 11.95 kB / 0.603 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6828, allocations: 15.98 kB / 0.603 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.6829, allocations: 19.97 kB / 0.6031 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6829, allocations: 7.938 kB / 0.6031 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.6831, allocations: 153.6 kB / 0.6032 GB, free: 420 kB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6831, allocations: 0 / 0.6032 GB, free: 420 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.6834, allocations: 64 kB / 0.6033 GB, free: 356 kB / 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.0008546/0.6843, allocations: 0.8961 MB / 0.6041 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005731/0.6849, allocations: 379.1 kB / 0.6045 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6849, allocations: 224 / 0.6045 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.6853, allocations: 325.3 kB / 0.6048 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.6856, allocations: 31.92 kB / 0.6048 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.6865, allocations: 398.2 kB / 0.6052 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.6868, allocations: 0.7596 MB / 0.606 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.636e-05/0.6869, allocations: 18.08 kB / 0.606 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.6871, allocations: 67.41 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6871, allocations: 0 / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.7035, allocations: 4.405 MB / 0.6103 GB, free: 9.094 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.7038, allocations: 174.4 kB / 0.6105 GB, free: 8.867 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.508, allocations: 4 kB / 0.6105 GB, free: 8.863 MB / 426.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