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.002235/0.002235, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 88.55 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3071/0.3071, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.76e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.418, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.6119, allocations: 96.13 MB / 0.5599 GB, free: 3.051 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6123, allocations: 83.95 kB / 0.56 GB, free: 2.969 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1343/0.7466, allocations: 32.63 MB / 0.5918 GB, free: 1.977 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7467, allocations: 0 / 0.5918 GB, free: 1.977 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.7468, allocations: 20 kB / 0.5918 GB, free: 1.957 MB / 427.1 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.005306/0.7521, allocations: 1.264 MB / 0.5931 GB, free: 0.6445 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.7522, allocations: 12.03 kB / 0.5931 GB, free: 0.6328 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.7629, allocations: 1.013 MB / 0.5941 GB, free: 15.62 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.7647, allocations: 0.5504 MB / 0.5946 GB, free: 15.02 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.7648, allocations: 40 kB / 0.5946 GB, free: 14.98 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.7651, allocations: 79.94 kB / 0.5947 GB, free: 14.91 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004291/0.7694, allocations: 1.313 MB / 0.596 GB, free: 13.59 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.7726, allocations: 0.8795 MB / 0.5969 GB, free: 12.69 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.478e-05/0.7727, allocations: 11.84 kB / 0.5969 GB, free: 12.68 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.7729, allocations: 0 / 0.5969 GB, free: 12.68 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.7729, allocations: 28 kB / 0.5969 GB, free: 12.65 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.7864, allocations: 4.601 MB / 0.6014 GB, free: 7.758 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.7895, allocations: 1.121 MB / 0.6025 GB, free: 6.562 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.7904, allocations: 323.2 kB / 0.6028 GB, free: 6.246 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.7906, allocations: 101.9 kB / 0.6029 GB, free: 6.125 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.7907, allocations: 47.34 kB / 0.6029 GB, free: 6.07 MB / 443.1 MB Notification: Performance of pre-optimization done (n=91): time 5.991e-06/0.7907, allocations: 0 / 0.6029 GB, free: 6.07 MB / 443.1 MB Notification: Performance of matching and sorting (n=91): time 0.003289/0.794, allocations: 0.8094 MB / 0.6037 GB, free: 5.25 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.7941, allocations: 64.19 kB / 0.6038 GB, free: 5.172 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.7949, allocations: 425 kB / 0.6042 GB, free: 4.75 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.7951, allocations: 25.7 kB / 0.6042 GB, free: 4.719 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.7955, allocations: 0.5473 MB / 0.6048 GB, free: 4.164 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.7959, allocations: 303.5 kB / 0.605 GB, free: 3.863 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-05/0.796, allocations: 0 / 0.605 GB, free: 3.863 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.7962, allocations: 354.8 kB / 0.6054 GB, free: 3.508 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/0.7971, allocations: 294.6 kB / 0.6057 GB, free: 3.223 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.7982, allocations: 0.5456 MB / 0.6062 GB, free: 2.566 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/0.8011, allocations: 0.6346 MB / 0.6068 GB, free: 1.938 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.8012, allocations: 0 / 0.6068 GB, free: 1.938 MB / 443.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004967/0.8062, allocations: 1.252 MB / 0.608 GB, free: 0.6719 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.8063, allocations: 8 kB / 0.608 GB, free: 0.6641 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.8063, allocations: 8 kB / 0.6081 GB, free: 0.6562 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.8068, allocations: 70.17 kB / 0.6081 GB, free: 0.582 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.8089, allocations: 263.6 kB / 0.6084 GB, free: 332 kB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.8119, allocations: 2.516 MB / 0.6108 GB, free: 13.57 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.8134, allocations: 94.8 kB / 0.6109 GB, free: 13.48 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.8136, allocations: 44 kB / 0.611 GB, free: 13.44 MB / 459.1 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.0002824/0.8139, allocations: 133.9 kB / 0.6111 GB, free: 13.3 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003183/0.8171, allocations: 0.8135 MB / 0.6119 GB, free: 12.47 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.8174, allocations: 67.19 kB / 0.612 GB, free: 12.41 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.821, allocations: 1.103 MB / 0.613 GB, free: 11.28 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.8211, allocations: 12 kB / 0.613 GB, free: 11.27 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.8211, allocations: 4 kB / 0.613 GB, free: 11.26 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.8211, allocations: 3.984 kB / 0.613 GB, free: 11.26 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/0.8279, allocations: 2.582 MB / 0.6156 GB, free: 8.457 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.8279, allocations: 4 kB / 0.6156 GB, free: 8.453 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.8294, allocations: 187.8 kB / 0.6158 GB, free: 8.27 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.8298, allocations: 57.62 kB / 0.6158 GB, free: 8.207 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.8299, allocations: 15.98 kB / 0.6158 GB, free: 8.191 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.8327, allocations: 2.524 MB / 0.6183 GB, free: 5.434 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/0.8327, allocations: 7.938 kB / 0.6183 GB, free: 5.426 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.8372, allocations: 1.74 MB / 0.62 GB, free: 3.438 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.8377, allocations: 176.1 kB / 0.6202 GB, free: 3.246 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.8379, allocations: 12 kB / 0.6202 GB, free: 3.234 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.8389, allocations: 40.03 kB / 0.6202 GB, free: 3.195 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.8392, allocations: 76.58 kB / 0.6203 GB, free: 3.121 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.8393, allocations: 40 kB / 0.6203 GB, free: 3.082 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.000619/0.8399, allocations: 323 kB / 0.6206 GB, free: 2.766 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8399, allocations: 4 kB / 0.6206 GB, free: 2.762 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001706/0.8416, allocations: 298.9 kB / 0.6209 GB, free: 2.469 MB / 459.1 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.005899/0.8476, allocations: 4.044 MB / 0.6249 GB, free: 14.22 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.8504, allocations: 0.9609 MB / 0.6258 GB, free: 13.24 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.8505, allocations: 7.938 kB / 0.6258 GB, free: 13.23 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.8519, allocations: 0.5622 MB / 0.6264 GB, free: 12.65 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.8528, allocations: 58 kB / 0.6264 GB, free: 12.59 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/0.8608, allocations: 1.96 MB / 0.6283 GB, free: 10.51 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.8617, allocations: 1.023 MB / 0.6293 GB, free: 9.461 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.8628, allocations: 363.3 kB / 0.6297 GB, free: 9.105 MB / 475.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8628, allocations: 0 / 0.6297 GB, free: 9.105 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.368/4.231, allocations: 22 MB / 0.6512 GB, free: 123.1 MB / 475.1 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