Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.001319/0.001319, 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.851/1.851, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009787/0.0009786, allocations: 86.59 kB / 267 MB, free: 9.285 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.4407/0.4407, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.438e-05, allocations: 0 / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1699, allocations: 58.85 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.6942, allocations: 96.79 MB / 0.5674 GB, free: 8.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.6946, allocations: 84.8 kB / 0.5675 GB, free: 8.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08369/0.7783, allocations: 33.08 MB / 0.5998 GB, free: 6.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7784, allocations: 0 / 0.5998 GB, free: 6.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.552e-05/0.7785, allocations: 16 kB / 0.5998 GB, free: 6.672 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004295/0.7828, allocations: 1.266 MB / 0.6011 GB, free: 5.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.7828, allocations: 12.03 kB / 0.6011 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005283/0.7834, allocations: 177.9 kB / 0.6012 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007266/0.7906, allocations: 1.024 MB / 0.6022 GB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.7925, allocations: 0.5504 MB / 0.6028 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.7927, allocations: 90.48 kB / 0.6029 GB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006298/0.7934, allocations: 124 kB / 0.603 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/0.7968, allocations: 1.126 MB / 0.6041 GB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.333e-05/0.7969, allocations: 7.984 kB / 0.6041 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.7971, allocations: 53.38 kB / 0.6041 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.7971, allocations: 28 kB / 0.6042 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/0.7999, allocations: 1.38 MB / 0.6055 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009927/0.8099, allocations: 4.894 MB / 0.6103 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.8121, allocations: 1.149 MB / 0.6114 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.8127, allocations: 344.4 kB / 0.6117 GB, free: 9.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.8129, allocations: 105.8 kB / 0.6118 GB, free: 9.832 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.8129, allocations: 43.34 kB / 0.6119 GB, free: 9.781 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 4.559e-06/0.8129, allocations: 0 / 0.6119 GB, free: 9.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.00182/0.8148, allocations: 0.7156 MB / 0.6126 GB, free: 9.047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.8149, allocations: 60.19 kB / 0.6126 GB, free: 8.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.8162, allocations: 0.7029 MB / 0.6133 GB, free: 8.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/0.8163, allocations: 41.7 kB / 0.6134 GB, free: 8.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.8167, allocations: 478.7 kB / 0.6138 GB, free: 7.746 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.8171, allocations: 315.5 kB / 0.6141 GB, free: 7.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.8172, allocations: 27.94 kB / 0.6141 GB, free: 7.406 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.8174, allocations: 394.7 kB / 0.6145 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.818, allocations: 314.6 kB / 0.6148 GB, free: 6.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.8189, allocations: 0.5828 MB / 0.6154 GB, free: 6.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.8197, allocations: 404.8 kB / 0.6158 GB, free: 5.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.8197, allocations: 4 kB / 0.6158 GB, free: 5.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002268/0.822, allocations: 1.127 MB / 0.6169 GB, free: 4.473 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.822, allocations: 8.625 kB / 0.6169 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.822, allocations: 8 kB / 0.6169 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.8224, allocations: 65.67 kB / 0.617 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8235, allocations: 259.6 kB / 0.6172 GB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.826, allocations: 2.627 MB / 0.6198 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.8272, allocations: 158.5 kB / 0.6199 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8273, allocations: 47.95 kB / 0.62 GB, free: 1.035 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.8276, allocations: 169.8 kB / 0.6201 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.8279, allocations: 94.81 kB / 0.6202 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.83, allocations: 1.062 MB / 0.6213 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.83, allocations: 11.95 kB / 0.6213 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8301, allocations: 0 / 0.6213 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8301, allocations: 7.984 kB / 0.6213 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.8345, allocations: 2.678 MB / 0.6239 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.8346, allocations: 4 kB / 0.6239 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.8353, allocations: 179.7 kB / 0.6241 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/0.8356, allocations: 66.09 kB / 0.6241 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/0.8357, allocations: 27.98 kB / 0.6242 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.838, allocations: 2.627 MB / 0.6267 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.838, allocations: 19.95 kB / 0.6267 GB, free: 9.551 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.8404, allocations: 1.686 MB / 0.6284 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.8409, allocations: 215.7 kB / 0.6286 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.8411, allocations: 23.98 kB / 0.6286 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008451/0.842, allocations: 56.05 kB / 0.6287 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.8422, allocations: 84.58 kB / 0.6288 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.927e-05/0.8423, allocations: 36 kB / 0.6288 GB, free: 7.184 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.8433, allocations: 0.5421 MB / 0.6293 GB, free: 6.648 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8433, allocations: 0 / 0.6293 GB, free: 6.648 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001316/0.8447, allocations: 307.5 kB / 0.6296 GB, free: 6.348 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003854/0.8485, allocations: 4.039 MB / 0.6336 GB, free: 2.105 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.8507, allocations: 1.04 MB / 0.6346 GB, free: 1.043 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.8507, allocations: 0 / 0.6346 GB, free: 1.043 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.8516, allocations: 0.6039 MB / 0.6352 GB, free: 424 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.8523, allocations: 107.8 kB / 0.6353 GB, free: 316 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.8585, allocations: 2.034 MB / 0.6373 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.8592, allocations: 1.02 MB / 0.6382 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007475/0.86, allocations: 155.6 kB / 0.6384 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/0.8606, allocations: 367.3 kB / 0.6387 GB, free: 12.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8606, allocations: 0 / 0.6387 GB, free: 12.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.9017, allocations: 17.66 MB / 0.656 GB, free: 11.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.902, allocations: 210.9 kB / 0.6562 GB, free: 10.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.502, allocations: 0 / 0.6562 GB, free: 10.78 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat