Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001481/0.00148, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001143/0.001143, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2947/0.2947, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.258e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5223/0.6508, allocations: 86.99 MB / 0.5578 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.6511, allocations: 71.03 kB / 0.5579 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0163/0.6674, allocations: 3.896 MB / 0.5617 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6674, allocations: 4 kB / 0.5617 GB, free: 13.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.6675, allocations: 4 kB / 0.5617 GB, free: 13.16 MB / 378.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.0009517/0.6684, allocations: 498.6 kB / 0.5622 GB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6685, allocations: 8.031 kB / 0.5622 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.87e-05/0.6686, allocations: 54.8 kB / 0.5622 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.6687, allocations: 31.61 kB / 0.5623 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.6691, allocations: 252.2 kB / 0.5625 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.6692, allocations: 15 kB / 0.5625 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.107e-05/0.6692, allocations: 18.81 kB / 0.5625 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.6697, allocations: 178.1 kB / 0.5627 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6698, allocations: 4 kB / 0.5627 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.6698, allocations: 10.56 kB / 0.5627 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.6698, allocations: 4 kB / 0.5627 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.6702, allocations: 134 kB / 0.5629 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6724, allocations: 0.8145 MB / 0.5637 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.6726, allocations: 90.88 kB / 0.5637 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.6728, allocations: 41.36 kB / 0.5638 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.6728, allocations: 0 / 0.5638 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.6729, allocations: 41.88 kB / 0.5638 GB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.6729, allocations: 0 / 0.5638 GB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002116/0.675, allocations: 0.6333 MB / 0.5644 GB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.6751, allocations: 55.41 kB / 0.5645 GB, free: 10.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.6754, allocations: 190.6 kB / 0.5647 GB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.6754, allocations: 28.64 kB / 0.5647 GB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6756, allocations: 227.1 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.6756, allocations: 53.33 kB / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.6757, allocations: 4.312 kB / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6758, allocations: 330.7 kB / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.676, allocations: 46.5 kB / 0.5653 GB, free: 9.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.6762, allocations: 91.89 kB / 0.5654 GB, free: 9.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.6764, allocations: 73.38 kB / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6764, allocations: 0 / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006829/0.6771, allocations: 249.2 kB / 0.5657 GB, free: 9.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6771, allocations: 8 kB / 0.5657 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6772, allocations: 0 / 0.5657 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.6775, allocations: 68.66 kB / 0.5658 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.6778, allocations: 35.66 kB / 0.5658 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.681, allocations: 2.808 MB / 0.5686 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.6813, allocations: 11.94 kB / 0.5686 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.6814, allocations: 11.94 kB / 0.5686 GB, free: 6.336 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.0001288/0.6815, allocations: 120.4 kB / 0.5687 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.6816, allocations: 19.81 kB / 0.5687 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.6816, allocations: 24.47 kB / 0.5688 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6817, allocations: 0 / 0.5688 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.6817, allocations: 4 kB / 0.5688 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6817, allocations: 3.984 kB / 0.5688 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.6821, allocations: 279 kB / 0.569 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.6821, allocations: 0 / 0.569 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.6823, allocations: 19.98 kB / 0.5691 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.6827, allocations: 78.94 kB / 0.5691 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.6827, allocations: 3.188 kB / 0.5691 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.6857, allocations: 2.79 MB / 0.5719 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6857, allocations: 4.125 kB / 0.5719 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.6865, allocations: 365 kB / 0.5722 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.6866, allocations: 93.08 kB / 0.5723 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.6867, allocations: 7.438 kB / 0.5723 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.6871, allocations: 28.03 kB / 0.5723 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.6871, allocations: 19.22 kB / 0.5723 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.6872, allocations: 4 kB / 0.5724 GB, free: 2.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.6874, allocations: 149.9 kB / 0.5725 GB, free: 2.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6874, allocations: 0 / 0.5725 GB, free: 2.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000497/0.6879, allocations: 63.38 kB / 0.5726 GB, free: 2.305 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.001148/0.6891, allocations: 0.9064 MB / 0.5734 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008036/0.6899, allocations: 390 kB / 0.5738 GB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6899, allocations: 0 / 0.5738 GB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.6905, allocations: 307.9 kB / 0.5741 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.6909, allocations: 30.33 kB / 0.5741 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.6922, allocations: 433.6 kB / 0.5745 GB, free: 356 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.6927, allocations: 0.7557 MB / 0.5753 GB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.6928, allocations: 68.22 kB / 0.5754 GB, free: 15.54 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6928, allocations: 0 / 0.5754 GB, free: 15.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.868/3.561, allocations: 5.374 MB / 0.5806 GB, free: 10.21 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat