Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001687/0.001687, allocations: 179.7 kB / 13.66 MB, free: 1.66 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.204/2.204, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001172/0.001171, allocations: 102.6 kB / 267.5 MB, free: 14.11 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.2946/0.2946, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.249e-05, allocations: 3.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 58.84 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5166/0.6445, allocations: 96.8 MB / 0.5674 GB, free: 6.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6449, allocations: 75.39 kB / 0.5675 GB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.131/0.7759, allocations: 33.06 MB / 0.5998 GB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.776, allocations: 0 / 0.5998 GB, free: 11.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.591e-05/0.7761, allocations: 19.98 kB / 0.5998 GB, free: 11.37 MB / 410.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.005064/0.7811, allocations: 1.269 MB / 0.601 GB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.7812, allocations: 12.03 kB / 0.601 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004809/0.7817, allocations: 182.9 kB / 0.6012 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.7925, allocations: 1.013 MB / 0.6022 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.7943, allocations: 0.5565 MB / 0.6027 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.7944, allocations: 88.67 kB / 0.6028 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.7949, allocations: 126.5 kB / 0.603 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.7987, allocations: 1.127 MB / 0.6041 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-05/0.7988, allocations: 15.28 kB / 0.6041 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.7991, allocations: 48.94 kB / 0.6041 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.7991, allocations: 28 kB / 0.6041 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.8035, allocations: 1.386 MB / 0.6055 GB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.8178, allocations: 4.882 MB / 0.6103 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.8213, allocations: 1.151 MB / 0.6114 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.8223, allocations: 348.4 kB / 0.6117 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.8226, allocations: 101.9 kB / 0.6118 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.8227, allocations: 43.34 kB / 0.6119 GB, free: 1.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.396e-06/0.8227, allocations: 4 kB / 0.6119 GB, free: 1.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=91): time 0.002376/0.8251, allocations: 0.7156 MB / 0.6126 GB, free: 368 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.8252, allocations: 64.12 kB / 0.6126 GB, free: 292 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.8269, allocations: 0.703 MB / 0.6133 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.8271, allocations: 41.7 kB / 0.6133 GB, free: 15.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.8276, allocations: 0.4894 MB / 0.6138 GB, free: 15.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/0.828, allocations: 311.5 kB / 0.6141 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.8281, allocations: 24 kB / 0.6141 GB, free: 14.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.8283, allocations: 354.8 kB / 0.6145 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.8293, allocations: 314.6 kB / 0.6148 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.8306, allocations: 0.5789 MB / 0.6154 GB, free: 13.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.8318, allocations: 408.7 kB / 0.6157 GB, free: 12.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.8319, allocations: 8 kB / 0.6157 GB, free: 12.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003398/0.8353, allocations: 1.072 MB / 0.6168 GB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.8354, allocations: 11.44 kB / 0.6168 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.8354, allocations: 8.75 kB / 0.6168 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.8359, allocations: 69.69 kB / 0.6169 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.8382, allocations: 263.6 kB / 0.6171 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.8416, allocations: 2.631 MB / 0.6197 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.8434, allocations: 142.3 kB / 0.6198 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.8437, allocations: 55.94 kB / 0.6199 GB, free: 8.414 MB / 426.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.0003467/0.844, allocations: 176.7 kB / 0.6201 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.8443, allocations: 90.88 kB / 0.6201 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.8475, allocations: 1.058 MB / 0.6212 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.8475, allocations: 11.95 kB / 0.6212 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8476, allocations: 0 / 0.6212 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.8476, allocations: 3.984 kB / 0.6212 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/0.854, allocations: 2.675 MB / 0.6238 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.8541, allocations: 8 kB / 0.6238 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.8557, allocations: 183.8 kB / 0.624 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/0.8561, allocations: 61.67 kB / 0.624 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.8562, allocations: 32 kB / 0.6241 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.8593, allocations: 2.627 MB / 0.6266 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.8593, allocations: 11.89 kB / 0.6267 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.8634, allocations: 1.694 MB / 0.6283 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.864, allocations: 219.6 kB / 0.6285 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.8642, allocations: 24 kB / 0.6285 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.8654, allocations: 60.03 kB / 0.6286 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.8657, allocations: 76.59 kB / 0.6287 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/0.8658, allocations: 31.98 kB / 0.6287 GB, free: 14.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.8671, allocations: 0.55 MB / 0.6292 GB, free: 14.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8671, allocations: 0 / 0.6292 GB, free: 14.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001667/0.8688, allocations: 307.5 kB / 0.6295 GB, free: 13.73 MB / 442.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.005509/0.8744, allocations: 4.044 MB / 0.6335 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003113/0.8775, allocations: 1.039 MB / 0.6345 GB, free: 8.406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.8776, allocations: 0 / 0.6345 GB, free: 8.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.8793, allocations: 0.6052 MB / 0.6351 GB, free: 7.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8804, allocations: 103.5 kB / 0.6352 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008683/0.8891, allocations: 2.065 MB / 0.6372 GB, free: 5.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/0.89, allocations: 1.02 MB / 0.6382 GB, free: 4.445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.8912, allocations: 379.3 kB / 0.6386 GB, free: 4.074 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8912, allocations: 0 / 0.6386 GB, free: 4.074 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.104/3.995, allocations: 23.19 MB / 0.6612 GB, free: 12.84 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat