Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 91.66 kB / 20.95 MB, free: 3.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 166.3 kB / 24.26 MB, free: 292 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9254/0.9254, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2298/0.2298, allocations: 29.42 MB / 290.5 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.502e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002248/0.002263, allocations: 2.152 MB / 370.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005749/0.002838, allocations: 0.526 MB / 371.1 MB, free: 9.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.002877, allocations: 4 kB / 371.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003001, allocations: 11.92 kB / 371.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.003079, allocations: 23.89 kB / 371.1 MB, free: 9.086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.003401, allocations: 83.67 kB / 371.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003505, allocations: 59.77 kB / 371.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.003547, allocations: 7.938 kB / 371.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.003667, allocations: 39.83 kB / 371.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.003706, allocations: 27.89 kB / 371.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.003716, allocations: 8 kB / 371.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.003858, allocations: 95.73 kB / 371.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.003908, allocations: 39.86 kB / 371.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.003935, allocations: 23.86 kB / 371.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.004148, allocations: 147.5 kB / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004151, allocations: 0 / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004152, allocations: 0 / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.004158, allocations: 0 / 371.6 MB, free: 8.562 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003398/0.004498, allocations: 407.1 kB / 372 MB, free: 8.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.004537, allocations: 11.98 kB / 372 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.004572, allocations: 54.73 kB / 372.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.00461, allocations: 20.8 kB / 372.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.004733, allocations: 138.1 kB / 372.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.004742, allocations: 384 / 372.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.004751, allocations: 8.125 kB / 372.2 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.004931, allocations: 224.2 kB / 372.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.004937, allocations: 4 kB / 372.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.004943, allocations: 0 / 372.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.00495, allocations: 0 / 372.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.00506, allocations: 189.9 kB / 372.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.005172, allocations: 161.3 kB / 372.8 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.005302, allocations: 200.5 kB / 373 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.005407, allocations: 198.8 kB / 373.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.005413, allocations: 0 / 373.2 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005434, allocations: 30.56 kB / 373.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.222e-06/0.005435, allocations: 0 / 373.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004935/0.005929, allocations: 0.6828 MB / 373.9 MB, free: 6.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.005978, allocations: 109.1 kB / 374 MB, free: 5.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.006063, allocations: 149.6 kB / 374.2 MB, free: 5.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.006072, allocations: 25.7 kB / 374.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.006111, allocations: 100.8 kB / 374.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.006175, allocations: 130.8 kB / 374.4 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.006213, allocations: 33.73 kB / 374.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.006313, allocations: 338.8 kB / 374.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.006482, allocations: 181.6 kB / 375 MB, free: 4.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.006621, allocations: 186.6 kB / 375.1 MB, free: 4.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.006859, allocations: 432.3 kB / 375.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006861, allocations: 3.938 kB / 375.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002891/0.00715, allocations: 452.8 kB / 376 MB, free: 3.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.007293, allocations: 85.62 kB / 376.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007298, allocations: 0 / 376.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.007313, allocations: 0 / 376.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.007313, allocations: 64 / 376.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.00732, allocations: 4 kB / 376.1 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.007352, allocations: 27.78 kB / 376.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.007375, allocations: 4 kB / 376.1 MB, free: 3.758 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.007506, allocations: 235.4 kB / 376.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.007532, allocations: 35.89 kB / 376.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.007546, allocations: 9.969 kB / 376.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007548, allocations: 0 / 376.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007552, allocations: 0 / 376.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007555, allocations: 3.938 kB / 376.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.007659, allocations: 188.5 kB / 376.6 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.00766, allocations: 4 kB / 376.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-07/0.00766, allocations: 0 / 376.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007662, allocations: 4 kB / 376.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.007674, allocations: 4 kB / 376.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.007677, allocations: 7.938 kB / 376.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007678, allocations: 0 / 376.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.00821, allocations: 0.7732 MB / 377.4 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.008229, allocations: 27.72 kB / 377.4 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.008248, allocations: 8 kB / 377.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.008265, allocations: 4 kB / 377.4 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.008286, allocations: 8 kB / 377.4 MB, free: 2.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.008298, allocations: 12.03 kB / 377.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.008353, allocations: 114.4 kB / 377.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008353, allocations: 0 / 377.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.008575, allocations: 63.94 kB / 377.6 MB, free: 2.184 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009013/0.009476, allocations: 1.322 MB / 378.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.009994, allocations: 0.7367 MB / 379.7 MB, free: 60 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.009995, allocations: 0 / 379.7 MB, free: 60 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.01026, allocations: 432.9 kB / 380.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.01047, allocations: 35.75 kB / 380.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.01317, allocations: 3.755 MB / 383.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.01324, allocations: 135.4 kB / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.01326, allocations: 0 / 384 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.01331, allocations: 40.48 kB / 384.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01331, allocations: 4 kB / 384.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.03183, allocations: 5.654 MB / 389.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/6.955, allocations: 14.38 kB / 389.7 MB, free: 5.957 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.816057556308806] Failed to read output from testmodel.py, exit status != 0: 7.036658154800534 7.047575473 7.041735314 Calling exit ...