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.001129/0.001129, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009905/0.0009901, allocations: 89.56 kB / 267.1 MB, free: 9.27 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.4289/0.4289, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.608e-05/4.61e-05, allocations: 0 / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1642, allocations: 58.83 MB / 484.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5535/0.7178, allocations: 86.98 MB / 0.5578 GB, free: 16.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.7181, allocations: 64.81 kB / 0.5579 GB, free: 16.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.7287, allocations: 3.908 MB / 0.5617 GB, free: 14.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.7287, allocations: 0 / 0.5617 GB, free: 14.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.7287, allocations: 4 kB / 0.5617 GB, free: 14.45 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.0006881/0.7294, allocations: 0.4903 MB / 0.5622 GB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.7295, allocations: 12.03 kB / 0.5622 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/0.7296, allocations: 52.97 kB / 0.5623 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.7296, allocations: 29.22 kB / 0.5623 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.73, allocations: 245.9 kB / 0.5625 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.73, allocations: 15.31 kB / 0.5625 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.7301, allocations: 28.31 kB / 0.5626 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.7305, allocations: 178.3 kB / 0.5627 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7305, allocations: 2.953 kB / 0.5627 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.7305, allocations: 16.22 kB / 0.5627 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.7305, allocations: 4 kB / 0.5627 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.7308, allocations: 125.2 kB / 0.5629 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.7321, allocations: 0.8259 MB / 0.5637 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.7323, allocations: 86.05 kB / 0.5638 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.7324, allocations: 44.81 kB / 0.5638 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.7324, allocations: 4 kB / 0.5638 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.7325, allocations: 33.19 kB / 0.5638 GB, free: 12.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.7325, allocations: 0 / 0.5638 GB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001441/0.7339, allocations: 0.6427 MB / 0.5645 GB, free: 12.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.734, allocations: 51.41 kB / 0.5645 GB, free: 12.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.7342, allocations: 185.8 kB / 0.5647 GB, free: 11.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7342, allocations: 33.39 kB / 0.5647 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.7343, allocations: 172 kB / 0.5649 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.7343, allocations: 55.69 kB / 0.5649 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.7344, allocations: 7.625 kB / 0.5649 GB, free: 11.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.7345, allocations: 332.2 kB / 0.5653 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.7345, allocations: 45.94 kB / 0.5653 GB, free: 11.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.7347, allocations: 94.81 kB / 0.5654 GB, free: 11.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.7348, allocations: 72.02 kB / 0.5655 GB, free: 11.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7348, allocations: 0 / 0.5655 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004333/0.7352, allocations: 259 kB / 0.5657 GB, free: 10.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7353, allocations: 5.266 kB / 0.5657 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7353, allocations: 4.156 kB / 0.5657 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.7355, allocations: 68.45 kB / 0.5658 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7357, allocations: 35.02 kB / 0.5658 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.7377, allocations: 2.8 MB / 0.5686 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.7378, allocations: 10.55 kB / 0.5686 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.7379, allocations: 19.19 kB / 0.5686 GB, free: 8.074 MB / 394.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.923e-05/0.738, allocations: 115.4 kB / 0.5687 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.738, allocations: 23.16 kB / 0.5687 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.7381, allocations: 22.69 kB / 0.5687 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7381, allocations: 4 kB / 0.5687 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7381, allocations: 1.406 kB / 0.5687 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7381, allocations: 1.406 kB / 0.5687 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.7384, allocations: 291.5 kB / 0.569 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7384, allocations: 4 kB / 0.569 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.7385, allocations: 16.5 kB / 0.569 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.7387, allocations: 66.91 kB / 0.5691 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.7387, allocations: 7.188 kB / 0.5691 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.7406, allocations: 2.796 MB / 0.5718 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7406, allocations: 0 / 0.5718 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.7411, allocations: 366.9 kB / 0.5722 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.7412, allocations: 97.27 kB / 0.5723 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.7412, allocations: 0 / 0.5723 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.7414, allocations: 23.8 kB / 0.5723 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.7415, allocations: 17.41 kB / 0.5723 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.7415, allocations: 4 kB / 0.5723 GB, free: 4.398 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.7416, allocations: 154 kB / 0.5725 GB, free: 4.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7416, allocations: 4 kB / 0.5725 GB, free: 4.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.7419, allocations: 63.5 kB / 0.5725 GB, free: 4.223 MB / 394.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.000686/0.7426, allocations: 0.8961 MB / 0.5734 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.7432, allocations: 389.9 kB / 0.5738 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7432, allocations: 0 / 0.5738 GB, free: 3.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.7435, allocations: 311.2 kB / 0.5741 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.7438, allocations: 29.45 kB / 0.5741 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.7447, allocations: 396.2 kB / 0.5745 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.7449, allocations: 0.7601 MB / 0.5752 GB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.788e-05/0.745, allocations: 21.27 kB / 0.5753 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.561e-05/0.7451, allocations: 68.47 kB / 0.5753 GB, free: 1.621 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7451, allocations: 0 / 0.5753 GB, free: 1.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.7631, allocations: 4.407 MB / 0.5796 GB, free: 13.35 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.7633, allocations: 171 kB / 0.5798 GB, free: 13.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.729, allocations: 0 / 0.5798 GB, free: 13.13 MB / 410.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