Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001154/0.001154, allocations: 88.33 kB / 20.96 MB, free: 3.469 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.001273/0.001273, allocations: 161.3 kB / 24.27 MB, free: 164 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.8752/0.8752, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.2093/0.2093, allocations: 29.41 MB / 290.5 MB, free: 2.426 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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.237e-05, allocations: 2.312 kB / 368.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002048/0.002061, allocations: 2.156 MB / 370.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000536/0.002597, allocations: 0.526 MB / 371.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.002638, allocations: 0 / 371.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.002797, allocations: 11.92 kB / 371.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.002866, allocations: 27.83 kB / 371.1 MB, free: 9.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.003132, allocations: 79.75 kB / 371.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.161e-05/0.003224, allocations: 63.69 kB / 371.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.003261, allocations: 4 kB / 371.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.003376, allocations: 47.77 kB / 371.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.003416, allocations: 27.89 kB / 371.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.003425, allocations: 0 / 371.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.003556, allocations: 95.8 kB / 371.4 MB, free: 8.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.003596, allocations: 15.92 kB / 371.5 MB, free: 8.699 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.003616, allocations: 11.94 kB / 371.5 MB, free: 8.688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.003746, allocations: 103.7 kB / 371.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003748, allocations: 0 / 371.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003748, allocations: 0 / 371.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.003757, allocations: 0 / 371.6 MB, free: 8.586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002739/0.004031, allocations: 315.7 kB / 371.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.004071, allocations: 15.98 kB / 371.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.004097, allocations: 34.75 kB / 371.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.004136, allocations: 8.938 kB / 371.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.004282, allocations: 117.7 kB / 372 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.004292, allocations: 4.375 kB / 372.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.004299, allocations: 384 / 372.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.004445, allocations: 99.64 kB / 372.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.004454, allocations: 0 / 372.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004462, allocations: 0 / 372.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.004469, allocations: 3.984 kB / 372.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.004518, allocations: 57.69 kB / 372.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.004632, allocations: 136.7 kB / 372.3 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.413e-05/0.004706, allocations: 76.27 kB / 372.4 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.004759, allocations: 66.56 kB / 372.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.004768, allocations: 3.938 kB / 372.5 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.004795, allocations: 42.5 kB / 372.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.004796, allocations: 0 / 372.5 MB, free: 7.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000254/0.00505, allocations: 226.9 kB / 372.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.005095, allocations: 89.09 kB / 372.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.005173, allocations: 117.7 kB / 373 MB, free: 6.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.005186, allocations: 29.7 kB / 373 MB, free: 6.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.005217, allocations: 84.14 kB / 373.1 MB, free: 6.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.005248, allocations: 31.73 kB / 373.1 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.005271, allocations: 13.72 kB / 373.1 MB, free: 6.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/0.005594, allocations: 326.8 kB / 373.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.005634, allocations: 61.72 kB / 373.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.005666, allocations: 57.69 kB / 373.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.483e-05/0.005751, allocations: 136.2 kB / 373.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005752, allocations: 0 / 373.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001091/0.005861, allocations: 176.9 kB / 373.8 MB, free: 6.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.005893, allocations: 41.69 kB / 373.9 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005898, allocations: 0 / 373.9 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.00591, allocations: 0 / 373.9 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.005911, allocations: 0 / 373.9 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005915, allocations: 0 / 373.9 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.005931, allocations: 11.88 kB / 373.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.005944, allocations: 8.062 kB / 373.9 MB, free: 5.949 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 6.603e-05/0.00601, allocations: 155.5 kB / 374.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.006022, allocations: 15.89 kB / 374.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-06/0.00603, allocations: 4.438 kB / 374.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.006031, allocations: 4 kB / 374.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006035, allocations: 0 / 374.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006037, allocations: 0 / 374.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.177e-05/0.006099, allocations: 128.8 kB / 374.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.006099, allocations: 0 / 374.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.006101, allocations: 3.984 kB / 374.2 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.006102, allocations: 7.938 kB / 374.2 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006109, allocations: 4 kB / 374.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.00611, allocations: 0 / 374.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006111, allocations: 0 / 374.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.006268, allocations: 264.7 kB / 374.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.006276, allocations: 7.891 kB / 374.5 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.006288, allocations: 4 kB / 374.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-06/0.006296, allocations: 3.938 kB / 374.5 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.006311, allocations: 4 kB / 374.5 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.006315, allocations: 3.938 kB / 374.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.006345, allocations: 91.27 kB / 374.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006345, allocations: 4.031 kB / 374.6 MB, free: 5.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001435/0.006489, allocations: 27.94 kB / 374.6 MB, free: 5.145 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.0003695/0.006858, allocations: 0.7953 MB / 375.4 MB, free: 4.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.007027, allocations: 242.7 kB / 375.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007028, allocations: 0 / 375.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.007102, allocations: 153 kB / 375.8 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.007263, allocations: 12 kB / 375.8 MB, free: 3.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.008364, allocations: 1.751 MB / 377.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.008408, allocations: 75.33 kB / 377.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.318e-05/0.008421, allocations: 0 / 377.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.00845, allocations: 24.48 kB / 377.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00845, allocations: 0 / 377.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.02511, allocations: 3.142 MB / 380.8 MB, free: 14.88 MB / 362.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.863/6.888, allocations: 14.67 kB / 380.8 MB, free: 14.86 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_OMSimulator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_fmpy_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_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.699778214970138]