Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",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.0009756/0.0009757, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 86.28 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2538/0.2538, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.882e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5282/0.6677, allocations: 86.32 MB / 0.5503 GB, free: 8.156 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.668, allocations: 67.19 kB / 0.5504 GB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009913/0.678, allocations: 3.86 MB / 0.5541 GB, free: 5.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.678, allocations: 0 / 0.5541 GB, free: 5.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.678, allocations: 4 kB / 0.5542 GB, free: 5.008 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005811/0.6786, allocations: 496.3 kB / 0.5546 GB, free: 4.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6787, allocations: 12.03 kB / 0.5546 GB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.6788, allocations: 27.67 kB / 0.5547 GB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.679, allocations: 253 kB / 0.5549 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.6791, allocations: 11.5 kB / 0.5549 GB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.6791, allocations: 12 kB / 0.5549 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002248/0.6793, allocations: 117.2 kB / 0.555 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.6796, allocations: 144.8 kB / 0.5552 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6796, allocations: 0 / 0.5552 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.6796, allocations: 0 / 0.5552 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6797, allocations: 8 kB / 0.5552 GB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.6808, allocations: 0.7614 MB / 0.5559 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.6809, allocations: 90.31 kB / 0.556 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.681, allocations: 42.59 kB / 0.5561 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.681, allocations: 4 kB / 0.5561 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.681, allocations: 34.44 kB / 0.5561 GB, free: 3.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.681, allocations: 0 / 0.5561 GB, free: 3.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001163/0.6822, allocations: 0.6158 MB / 0.5567 GB, free: 2.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.6822, allocations: 51.41 kB / 0.5567 GB, free: 2.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.6824, allocations: 176.9 kB / 0.5569 GB, free: 2.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6824, allocations: 25.7 kB / 0.5569 GB, free: 2.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.6825, allocations: 170.5 kB / 0.5571 GB, free: 2.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.6825, allocations: 54.45 kB / 0.5571 GB, free: 2.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.6825, allocations: 0 / 0.5571 GB, free: 2.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.6826, allocations: 330.1 kB / 0.5575 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.6827, allocations: 42.62 kB / 0.5575 GB, free: 1.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.6828, allocations: 92.33 kB / 0.5576 GB, free: 1.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.6828, allocations: 62.66 kB / 0.5577 GB, free: 1.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6829, allocations: 0 / 0.5577 GB, free: 1.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003243/0.6832, allocations: 231 kB / 0.5579 GB, free: 1.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6832, allocations: 8 kB / 0.5579 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6832, allocations: 0 / 0.5579 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.6834, allocations: 69.36 kB / 0.5579 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.6836, allocations: 35.92 kB / 0.558 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.6856, allocations: 2.685 MB / 0.5606 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.6857, allocations: 7.828 kB / 0.5606 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.6857, allocations: 11.94 kB / 0.5606 GB, free: 14.58 MB / 378.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.0001046/0.6858, allocations: 109 kB / 0.5607 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003443/0.6862, allocations: 195.1 kB / 0.5609 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.6863, allocations: 15.81 kB / 0.5609 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.6863, allocations: 25.39 kB / 0.5609 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6863, allocations: 4 kB / 0.561 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6863, allocations: 4 kB / 0.561 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6863, allocations: 0 / 0.561 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.6866, allocations: 243.8 kB / 0.5612 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6867, allocations: 0 / 0.5612 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.6868, allocations: 19.98 kB / 0.5612 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.6869, allocations: 65.02 kB / 0.5613 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.687, allocations: 4 kB / 0.5613 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.6892, allocations: 2.677 MB / 0.5639 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6893, allocations: 0 / 0.5639 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.6897, allocations: 345.2 kB / 0.5642 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.6898, allocations: 99.69 kB / 0.5643 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.6899, allocations: 0 / 0.5643 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.69, allocations: 15.98 kB / 0.5643 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.6901, allocations: 26.75 kB / 0.5644 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.6901, allocations: 7.984 kB / 0.5644 GB, free: 10.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.6903, allocations: 131.1 kB / 0.5645 GB, free: 10.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6903, allocations: 0 / 0.5645 GB, free: 10.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.6907, allocations: 56 kB / 0.5645 GB, free: 10.61 MB / 378.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.000842/0.6915, allocations: 0.8809 MB / 0.5654 GB, free: 9.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005903/0.6921, allocations: 360.9 kB / 0.5657 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6921, allocations: 384 / 0.5657 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.6925, allocations: 301.5 kB / 0.566 GB, free: 9.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.6927, allocations: 18.55 kB / 0.5661 GB, free: 9.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009348/0.6937, allocations: 384.8 kB / 0.5664 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.6941, allocations: 0.7477 MB / 0.5671 GB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.802e-05/0.6942, allocations: 21.84 kB / 0.5672 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.6943, allocations: 65.59 kB / 0.5672 GB, free: 7.938 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6943, allocations: 0 / 0.5672 GB, free: 7.938 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.723, allocations: 3.743 MB / 0.5709 GB, free: 4.219 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.7232, allocations: 129.2 kB / 0.571 GB, free: 4.031 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.473, allocations: 0 / 0.571 GB, free: 4.031 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat