Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.0008404/0.0008404, allocations: 88.33 kB / 20.95 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.0008521/0.0008521, allocations: 161.3 kB / 24.27 MB, free: 156 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.89/0.89, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.2289/0.2289, allocations: 29.41 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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.323e-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_matrixEqCirc2): time 0.002536/0.002559, allocations: 2.149 MB / 370.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.00334, allocations: 0.526 MB / 371.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.003402, allocations: 4 kB / 371.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.003565, allocations: 11.92 kB / 371.1 MB, free: 9.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.694e-05/0.003662, allocations: 23.83 kB / 371.1 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.004101, allocations: 83.69 kB / 371.2 MB, free: 9 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004243, allocations: 59.75 kB / 371.3 MB, free: 8.941 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.0043, allocations: 4 kB / 371.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.004456, allocations: 39.83 kB / 371.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.004498, allocations: 19.92 kB / 371.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.004508, allocations: 4 kB / 371.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.004679, allocations: 111.7 kB / 371.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.004731, allocations: 31.91 kB / 371.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.004759, allocations: 11.94 kB / 371.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.00494, allocations: 123.6 kB / 371.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.004943, allocations: 0 / 371.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.004945, allocations: 0 / 371.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.00495, allocations: 0 / 371.6 MB, free: 8.602 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000371/0.005321, allocations: 359.5 kB / 371.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.00537, allocations: 11.98 kB / 372 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.005409, allocations: 46.67 kB / 372 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.005461, allocations: 16.84 kB / 372 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.005619, allocations: 141.5 kB / 372.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.005631, allocations: 4.375 kB / 372.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.005641, allocations: 4.375 kB / 372.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.005831, allocations: 155.6 kB / 372.3 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.005841, allocations: 0 / 372.3 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.005849, allocations: 0 / 372.3 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.005854, allocations: 0 / 372.3 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.005939, allocations: 121.7 kB / 372.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.006092, allocations: 156.6 kB / 372.6 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.0062, allocations: 136.2 kB / 372.7 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.006279, allocations: 135 kB / 372.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.006287, allocations: 3.938 kB / 372.9 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.006312, allocations: 38.44 kB / 372.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.492e-06/0.006314, allocations: 0 / 372.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005179/0.006832, allocations: 456.7 kB / 373.3 MB, free: 6.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.006881, allocations: 101.1 kB / 373.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.006978, allocations: 140.1 kB / 373.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.006992, allocations: 25.7 kB / 373.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.007044, allocations: 96.62 kB / 373.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.007115, allocations: 71.34 kB / 373.8 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.007152, allocations: 29.7 kB / 373.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.007326, allocations: 326.9 kB / 374.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.007415, allocations: 121.7 kB / 374.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.007488, allocations: 121.7 kB / 374.4 MB, free: 5.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.00767, allocations: 295 kB / 374.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.007675, allocations: 0 / 374.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002421/0.007917, allocations: 308.8 kB / 374.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/0.007978, allocations: 65.66 kB / 375 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.007985, allocations: 0 / 375 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.008004, allocations: 0 / 375 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.008005, allocations: 0 / 375 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.008014, allocations: 4.062 kB / 375 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.00804, allocations: 15.89 kB / 375 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.008062, allocations: 4 kB / 375 MB, free: 4.879 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.0001209/0.008183, allocations: 191.5 kB / 375.2 MB, free: 4.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.008213, allocations: 31.83 kB / 375.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.008231, allocations: 9.281 kB / 375.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.008234, allocations: 0 / 375.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.008239, allocations: 3.938 kB / 375.3 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008243, allocations: 4 kB / 375.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.00834, allocations: 156.6 kB / 375.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008341, allocations: 4 kB / 375.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.008342, allocations: 4 kB / 375.4 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.008344, allocations: 3.938 kB / 375.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.008355, allocations: 4 kB / 375.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008356, allocations: 0 / 375.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008358, allocations: 0 / 375.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.008904, allocations: 0.506 MB / 375.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.008927, allocations: 27.75 kB / 376 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.008946, allocations: 8 kB / 376 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.464e-05/0.00896, allocations: 4 kB / 376 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.008981, allocations: 4 kB / 376 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.00899, allocations: 8.031 kB / 376 MB, free: 3.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.694e-05/0.009036, allocations: 101.8 kB / 376.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009037, allocations: 0 / 376.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.009244, allocations: 51.92 kB / 376.1 MB, free: 3.684 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.0007182/0.009962, allocations: 1.061 MB / 377.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.01037, allocations: 498.6 kB / 377.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01037, allocations: 0 / 377.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.01056, allocations: 296.9 kB / 378 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01081, allocations: 23.25 kB / 378 MB, free: 1.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.01327, allocations: 2.762 MB / 380.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.01336, allocations: 104.8 kB / 380.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.01339, allocations: 0 / 380.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.01344, allocations: 36.48 kB / 380.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01344, allocations: 0 / 380.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.0332, allocations: 4.589 MB / 385.5 MB, free: 10.26 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.731/6.764, allocations: 3.125 kB / 385.5 MB, free: 10.26 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_OMSimulator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_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_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.632611509994604]