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.00164/0.00164, allocations: 178.3 kB / 8.008 MB, free: 1.066 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.812/1.812, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001003/0.001003, allocations: 78.17 kB / 261.7 MB, free: 1.695 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.2374/0.2374, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.237e-05, allocations: 4 kB / 418.4 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1732, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/0.7216, allocations: 96.13 MB / 0.5599 GB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004003/0.7221, allocations: 82.58 kB / 0.56 GB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1209/0.8431, allocations: 32.63 MB / 0.5918 GB, free: 5.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.8431, allocations: 0 / 0.5918 GB, free: 5.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.8432, allocations: 20 kB / 0.5919 GB, free: 5.008 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003038/0.8462, allocations: 1.266 MB / 0.5931 GB, free: 3.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.8463, allocations: 12.03 kB / 0.5931 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006745/0.853, allocations: 1.012 MB / 0.5941 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.8542, allocations: 0.5553 MB / 0.5946 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.8542, allocations: 40 kB / 0.5947 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.8544, allocations: 75.98 kB / 0.5948 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002143/0.8565, allocations: 1.318 MB / 0.596 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.8581, allocations: 0.8797 MB / 0.5969 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.8582, allocations: 7.906 kB / 0.5969 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.8583, allocations: 0 / 0.5969 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.8583, allocations: 28 kB / 0.5969 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007526/0.8658, allocations: 4.607 MB / 0.6014 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.8676, allocations: 1.114 MB / 0.6025 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.8681, allocations: 319.2 kB / 0.6028 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.8682, allocations: 105.9 kB / 0.6029 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.8683, allocations: 47.28 kB / 0.603 GB, free: 11.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.549e-06/0.8683, allocations: 0 / 0.603 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.001976/0.8703, allocations: 0.8056 MB / 0.6038 GB, free: 10.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.8703, allocations: 64.19 kB / 0.6038 GB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.8709, allocations: 425 kB / 0.6042 GB, free: 9.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.871, allocations: 25.7 kB / 0.6042 GB, free: 9.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.8713, allocations: 0.5058 MB / 0.6047 GB, free: 9.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.8715, allocations: 299.5 kB / 0.605 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.8716, allocations: 0 / 0.605 GB, free: 9.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.8718, allocations: 374.8 kB / 0.6054 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.8722, allocations: 290.6 kB / 0.6057 GB, free: 8.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.8729, allocations: 0.5416 MB / 0.6062 GB, free: 7.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.8745, allocations: 0.6384 MB / 0.6068 GB, free: 7.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.8745, allocations: 4 kB / 0.6068 GB, free: 7.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002623/0.8771, allocations: 1.259 MB / 0.608 GB, free: 5.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.8772, allocations: 14.97 kB / 0.6081 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.8772, allocations: 8 kB / 0.6081 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.8775, allocations: 66.17 kB / 0.6081 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8785, allocations: 271.5 kB / 0.6084 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.8806, allocations: 2.512 MB / 0.6108 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.8814, allocations: 90.81 kB / 0.6109 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.8815, allocations: 55.98 kB / 0.611 GB, free: 2.629 MB / 410.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.0002095/0.8817, allocations: 132.6 kB / 0.6111 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001893/0.8836, allocations: 0.8174 MB / 0.6119 GB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8838, allocations: 63.25 kB / 0.612 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.886, allocations: 1.095 MB / 0.613 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.886, allocations: 8 kB / 0.613 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8861, allocations: 4 kB / 0.6131 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.8861, allocations: 7.969 kB / 0.6131 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.8905, allocations: 2.578 MB / 0.6156 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.8906, allocations: 8 kB / 0.6156 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.8913, allocations: 187.8 kB / 0.6158 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.8916, allocations: 61.67 kB / 0.6158 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.8916, allocations: 12 kB / 0.6158 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.8938, allocations: 2.508 MB / 0.6183 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.8938, allocations: 15.92 kB / 0.6183 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.8967, allocations: 1.741 MB / 0.62 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/0.897, allocations: 188 kB / 0.6202 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.8971, allocations: 4 kB / 0.6202 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.8977, allocations: 43.97 kB / 0.6202 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.8979, allocations: 76.64 kB / 0.6203 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/0.8979, allocations: 36 kB / 0.6203 GB, free: 8.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004517/0.8984, allocations: 326.9 kB / 0.6206 GB, free: 7.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8984, allocations: 4 kB / 0.6206 GB, free: 7.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001252/0.8996, allocations: 298.9 kB / 0.6209 GB, free: 7.664 MB / 426.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.003882/0.9035, allocations: 4.042 MB / 0.6249 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.9053, allocations: 0.9648 MB / 0.6258 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9054, allocations: 0 / 0.6258 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008193/0.9062, allocations: 0.5663 MB / 0.6264 GB, free: 1.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.9069, allocations: 58.02 kB / 0.6264 GB, free: 1.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.9127, allocations: 1.917 MB / 0.6283 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.9135, allocations: 1.019 MB / 0.6293 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006609/0.9141, allocations: 129.9 kB / 0.6294 GB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.9147, allocations: 351.3 kB / 0.6298 GB, free: 14.24 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.9147, allocations: 0 / 0.6298 GB, free: 14.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.9532, allocations: 13.62 MB / 0.6431 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.9535, allocations: 171.8 kB / 0.6432 GB, free: 456 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.405, allocations: 0 / 0.6432 GB, free: 456 kB / 442.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