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.001255/0.00126, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 236 MB, free: 2.953 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.0009265/0.0009262, allocations: 95.66 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.338e-05, allocations: 224 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1534, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5271/0.6806, allocations: 99.14 MB / 0.5986 GB, free: 6.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/0.6811, allocations: 79.95 kB / 0.5987 GB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1157/0.7968, allocations: 32.6 MB / 0.6305 GB, free: 5.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7969, allocations: 0 / 0.6305 GB, free: 5.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.006e-05/0.797, allocations: 16 kB / 0.6306 GB, free: 5.055 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.004904/0.8019, allocations: 1.248 MB / 0.6318 GB, free: 3.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.02e-05/0.802, allocations: 8.031 kB / 0.6318 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004187/0.8024, allocations: 181.6 kB / 0.632 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.8135, allocations: 0.9431 MB / 0.6329 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.8155, allocations: 0.5309 MB / 0.6334 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.8157, allocations: 90.41 kB / 0.6335 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.816, allocations: 120 kB / 0.6336 GB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/0.8193, allocations: 1.09 MB / 0.6347 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.8194, allocations: 11.89 kB / 0.6347 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.8196, allocations: 48 kB / 0.6347 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.8197, allocations: 32 kB / 0.6347 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.823, allocations: 1.31 MB / 0.636 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.8348, allocations: 4.719 MB / 0.6406 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.8365, allocations: 0.8986 MB / 0.6415 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.8371, allocations: 336.7 kB / 0.6418 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.8372, allocations: 105.9 kB / 0.6419 GB, free: 8.918 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.8373, allocations: 39.34 kB / 0.642 GB, free: 8.871 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 3.366e-06/0.8373, allocations: 0 / 0.642 GB, free: 8.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.001411/0.8387, allocations: 0.7118 MB / 0.6427 GB, free: 8.148 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.8388, allocations: 64.12 kB / 0.6427 GB, free: 8.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/0.8397, allocations: 0.6872 MB / 0.6434 GB, free: 7.375 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.8398, allocations: 41.7 kB / 0.6434 GB, free: 7.328 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.8401, allocations: 459 kB / 0.6439 GB, free: 6.871 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.8404, allocations: 303.6 kB / 0.6442 GB, free: 6.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.8405, allocations: 24 kB / 0.6442 GB, free: 6.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.8407, allocations: 394.7 kB / 0.6446 GB, free: 6.152 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.8413, allocations: 310.6 kB / 0.6449 GB, free: 5.852 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.842, allocations: 0.5271 MB / 0.6454 GB, free: 5.227 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.8427, allocations: 396.8 kB / 0.6458 GB, free: 4.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8427, allocations: 0 / 0.6458 GB, free: 4.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001836/0.8445, allocations: 1.072 MB / 0.6468 GB, free: 3.754 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.8446, allocations: 7.984 kB / 0.6468 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.8446, allocations: 8 kB / 0.6468 GB, free: 3.738 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.8449, allocations: 66.34 kB / 0.6469 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.846, allocations: 247.6 kB / 0.6471 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.8483, allocations: 2.623 MB / 0.6497 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.8494, allocations: 154.3 kB / 0.6498 GB, free: 392 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.8494, allocations: 40 kB / 0.6499 GB, free: 352 kB / 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.0002545/0.8497, allocations: 162.8 kB / 0.65 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.8499, allocations: 95.05 kB / 0.6501 GB, free: 88 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.8519, allocations: 1.05 MB / 0.6511 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.8519, allocations: 8 kB / 0.6511 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.852, allocations: 4 kB / 0.6511 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.852, allocations: 3.984 kB / 0.6512 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.8561, allocations: 2.632 MB / 0.6537 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.8561, allocations: 4.781 kB / 0.6537 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.8569, allocations: 183.7 kB / 0.6539 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.8572, allocations: 61.69 kB / 0.654 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.8573, allocations: 31.92 kB / 0.654 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.8596, allocations: 2.623 MB / 0.6566 GB, free: 8.945 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.8596, allocations: 7.953 kB / 0.6566 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.8621, allocations: 1.684 MB / 0.6582 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.8624, allocations: 211.7 kB / 0.6584 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.8625, allocations: 24 kB / 0.6584 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.8633, allocations: 59.97 kB / 0.6585 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.8634, allocations: 84.36 kB / 0.6586 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.8635, allocations: 32 kB / 0.6586 GB, free: 6.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007847/0.8643, allocations: 0.5343 MB / 0.6591 GB, free: 6.059 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8643, allocations: 0 / 0.6591 GB, free: 6.059 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001043/0.8654, allocations: 303.5 kB / 0.6594 GB, free: 5.762 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.003461/0.8688, allocations: 4.029 MB / 0.6633 GB, free: 1.523 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001918/0.8708, allocations: 1.002 MB / 0.6643 GB, free: 0.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8708, allocations: 3.938 kB / 0.6643 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.8717, allocations: 0.592 MB / 0.6649 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.8723, allocations: 114.9 kB / 0.665 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.8755, allocations: 1.484 MB / 0.6665 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.8762, allocations: 1.012 MB / 0.6675 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006439/0.8768, allocations: 147.4 kB / 0.6676 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.8774, allocations: 355.3 kB / 0.6679 GB, free: 12.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8774, allocations: 0 / 0.6679 GB, free: 12.63 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.9141, allocations: 17.44 MB / 0.685 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.9144, allocations: 211.9 kB / 0.6852 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.681, allocations: 0 / 0.6852 GB, free: 11.15 MB / 0.4948 GB (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