Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 94.25 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.493e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5047/0.6633, allocations: 98.48 MB / 0.5909 GB, free: 13.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.6637, allocations: 83.95 kB / 0.591 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07731/0.741, allocations: 32.17 MB / 0.6224 GB, free: 13.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.7411, allocations: 0 / 0.6224 GB, free: 13.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.93e-05/0.7411, allocations: 20 kB / 0.6225 GB, free: 13.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003143/0.7443, allocations: 1.245 MB / 0.6237 GB, free: 11.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.7443, allocations: 11.98 kB / 0.6237 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006537/0.7509, allocations: 0.9392 MB / 0.6246 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.7525, allocations: 0.5347 MB / 0.6251 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.7526, allocations: 40 kB / 0.6252 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.7527, allocations: 68 kB / 0.6252 GB, free: 10.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002338/0.7551, allocations: 1.262 MB / 0.6265 GB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.7568, allocations: 0.8552 MB / 0.6273 GB, free: 8.176 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.7569, allocations: 3.906 kB / 0.6273 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.7569, allocations: 0 / 0.6273 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.757, allocations: 35.94 kB / 0.6273 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008142/0.7651, allocations: 4.448 MB / 0.6317 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.7667, allocations: 0.8418 MB / 0.6325 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.7672, allocations: 315.1 kB / 0.6328 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.7673, allocations: 101.8 kB / 0.6329 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.7674, allocations: 47.28 kB / 0.6329 GB, free: 2.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 4.218e-06/0.7674, allocations: 0 / 0.6329 GB, free: 2.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.002017/0.7694, allocations: 0.7978 MB / 0.6337 GB, free: 1.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.7695, allocations: 68.19 kB / 0.6338 GB, free: 1.172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.77, allocations: 405.1 kB / 0.6342 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.77, allocations: 25.7 kB / 0.6342 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.7703, allocations: 490.1 kB / 0.6347 GB, free: 256 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.7706, allocations: 299.7 kB / 0.635 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.7706, allocations: 0 / 0.635 GB, free: 15.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.7708, allocations: 370.8 kB / 0.6353 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.7713, allocations: 286.6 kB / 0.6356 GB, free: 15.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/0.772, allocations: 0.5027 MB / 0.6361 GB, free: 14.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.7735, allocations: 0.6228 MB / 0.6367 GB, free: 14.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.7735, allocations: 4 kB / 0.6367 GB, free: 14.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00262/0.7762, allocations: 1.209 MB / 0.6379 GB, free: 12.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.7762, allocations: 13.28 kB / 0.6379 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.7762, allocations: 12 kB / 0.6379 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002923/0.7765, allocations: 65.67 kB / 0.638 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.7775, allocations: 243.6 kB / 0.6382 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.7794, allocations: 2.512 MB / 0.6406 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.7803, allocations: 90.89 kB / 0.6407 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.7804, allocations: 48.14 kB / 0.6408 GB, free: 9.648 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * 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.000207/0.7806, allocations: 132.6 kB / 0.6409 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001764/0.7823, allocations: 0.8017 MB / 0.6417 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.7825, allocations: 63.25 kB / 0.6417 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.7846, allocations: 1.091 MB / 0.6428 GB, free: 7.516 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7846, allocations: 8 kB / 0.6428 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7846, allocations: 0 / 0.6428 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.7846, allocations: 3.984 kB / 0.6428 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.7885, allocations: 2.555 MB / 0.6453 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.7885, allocations: 4 kB / 0.6453 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.7893, allocations: 179.8 kB / 0.6455 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.7895, allocations: 62.03 kB / 0.6455 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.7896, allocations: 19.98 kB / 0.6456 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.7913, allocations: 2.509 MB / 0.648 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.7914, allocations: 19.95 kB / 0.648 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.7941, allocations: 1.709 MB / 0.6497 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.7944, allocations: 184 kB / 0.6499 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.7945, allocations: 8 kB / 0.6499 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.7951, allocations: 44.03 kB / 0.6499 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.7953, allocations: 80.36 kB / 0.65 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.7953, allocations: 32 kB / 0.65 GB, free: 15.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003837/0.7957, allocations: 323 kB / 0.6503 GB, free: 15.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7957, allocations: 0 / 0.6503 GB, free: 15.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001039/0.7968, allocations: 279 kB / 0.6506 GB, free: 14.79 MB / 474.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 (92): * Single equations (assignments): 90 * 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.00343/0.8002, allocations: 4.046 MB / 0.6546 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.8018, allocations: 0.9425 MB / 0.6555 GB, free: 9.582 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.8018, allocations: 0 / 0.6555 GB, free: 9.582 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007406/0.8026, allocations: 0.5631 MB / 0.656 GB, free: 9.004 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.8031, allocations: 61.78 kB / 0.6561 GB, free: 8.945 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.8061, allocations: 1.374 MB / 0.6574 GB, free: 7.457 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.8066, allocations: 1.007 MB / 0.6584 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005847/0.8072, allocations: 117.6 kB / 0.6585 GB, free: 6.301 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.8077, allocations: 351.3 kB / 0.6589 GB, free: 5.957 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.8077, allocations: 0 / 0.6589 GB, free: 5.957 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.8454, allocations: 13.35 MB / 0.6719 GB, free: 8.652 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.8457, allocations: 163.1 kB / 0.6721 GB, free: 8.461 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.245, allocations: 4 kB / 0.6721 GB, free: 8.457 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat