Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001715/0.001715, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001453/0.001453, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.446/1.446, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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.1767/0.1767, allocations: 29.42 MB / 290.7 MB, free: 3.25 MB / 270.1 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 71.91 kB / 431.2 MB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004605/0.3562, allocations: 4.009 MB / 497.6 MB, free: 35.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3575, allocations: 0.883 MB / 498.5 MB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.3576, allocations: 14.34 kB / 498.5 MB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.3578, allocations: 50.98 kB / 498.6 MB, free: 34.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.3583, allocations: 187.5 kB / 498.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.3585, allocations: 90.86 kB / 498.9 MB, free: 34.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.3589, allocations: 392.7 kB / 499.2 MB, free: 34.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.3592, allocations: 87.86 kB / 499.3 MB, free: 34.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.3595, allocations: 195.6 kB / 499.5 MB, free: 33.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.3598, allocations: 177.8 kB / 499.7 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.3598, allocations: 19.47 kB / 499.7 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.3599, allocations: 19.47 kB / 499.7 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.36, allocations: 97.3 kB / 499.8 MB, free: 33.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3601, allocations: 112.4 kB / 499.9 MB, free: 33.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.3605, allocations: 292.3 kB / 0.4885 GB, free: 33.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3605, allocations: 0 / 0.4885 GB, free: 33.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3605, allocations: 3.938 kB / 0.4885 GB, free: 33.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3606, allocations: 4 kB / 0.4885 GB, free: 33.68 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001041/0.3616, allocations: 0.5252 MB / 0.489 GB, free: 33.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3616, allocations: 13.48 kB / 0.489 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.3617, allocations: 33.38 kB / 0.4891 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.3621, allocations: 279.4 kB / 0.4893 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3622, allocations: 18.28 kB / 0.4894 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.3622, allocations: 20.97 kB / 0.4894 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.3626, allocations: 290.4 kB / 0.4896 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3626, allocations: 7.469 kB / 0.4897 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.3627, allocations: 11.03 kB / 0.4897 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3627, allocations: 6.219 kB / 0.4897 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.3629, allocations: 181.8 kB / 0.4898 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.364, allocations: 1.106 MB / 0.4909 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.3643, allocations: 111.9 kB / 0.491 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.3644, allocations: 41.47 kB / 0.4911 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3644, allocations: 0 / 0.4911 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3644, allocations: 37.81 kB / 0.4911 GB, free: 31.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.3644, allocations: 0 / 0.4911 GB, free: 31.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000739/0.3652, allocations: 422.6 kB / 0.4915 GB, free: 31.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3652, allocations: 81.11 kB / 0.4916 GB, free: 31.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3654, allocations: 247 kB / 0.4918 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3654, allocations: 33.83 kB / 0.4919 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.3655, allocations: 204.6 kB / 0.4921 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3655, allocations: 38.02 kB / 0.4921 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.3656, allocations: 44.61 kB / 0.4921 GB, free: 30.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.3657, allocations: 335.5 kB / 0.4925 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.3657, allocations: 38.34 kB / 0.4925 GB, free: 30.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.3658, allocations: 133.9 kB / 0.4926 GB, free: 30.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.366, allocations: 186.3 kB / 0.4928 GB, free: 30.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.366, allocations: 0 / 0.4928 GB, free: 30.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002482/0.3662, allocations: 215.3 kB / 0.493 GB, free: 30.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3663, allocations: 5.844 kB / 0.493 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3663, allocations: 2.781 kB / 0.493 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3663, allocations: 5.906 kB / 0.493 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3664, allocations: 40.75 kB / 0.4931 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3665, allocations: 10.09 kB / 0.4931 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3666, allocations: 11.25 kB / 0.4931 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3666, allocations: 9.062 kB / 0.4931 GB, free: 30.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.00014/0.3667, allocations: 163 kB / 0.4932 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.3668, allocations: 24.73 kB / 0.4933 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.367, allocations: 137.4 kB / 0.4934 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.367, allocations: 0 / 0.4934 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.367, allocations: 3.031 kB / 0.4934 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.367, allocations: 3.562 kB / 0.4934 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.3674, allocations: 401.1 kB / 0.4938 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3674, allocations: 14.84 kB / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3676, allocations: 21.84 kB / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.3676, allocations: 0 / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3676, allocations: 3.031 kB / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3676, allocations: 0 / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3676, allocations: 3.938 kB / 0.4938 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.3679, allocations: 283 kB / 0.4941 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.3679, allocations: 22.34 kB / 0.4941 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3679, allocations: 11 kB / 0.4941 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.368, allocations: 0 / 0.4941 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.3681, allocations: 18.03 kB / 0.4941 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3681, allocations: 2.969 kB / 0.4941 GB, free: 29.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3682, allocations: 177.9 kB / 0.4943 GB, free: 29.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 0.4943 GB, free: 29.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.3686, allocations: 41.31 kB / 0.4944 GB, free: 29.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001061/0.3687, allocations: 94.91 kB / 0.4944 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3689, allocations: 106.6 kB / 0.4945 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3689, allocations: 4.125 kB / 0.4945 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.369, allocations: 43.19 kB / 0.4946 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3694, allocations: 59.72 kB / 0.4946 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.3703, allocations: 0.5526 MB / 0.4952 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3704, allocations: 169.1 kB / 0.4953 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.923e-05/0.3705, allocations: 32 kB / 0.4954 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.3705, allocations: 20.22 kB / 0.4954 GB, free: 28.57 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3705, allocations: 0 / 0.4954 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Templates: time 0.005411/0.376, allocations: 2.069 MB / 0.4974 GB, free: 28.27 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.916564687038772] Failed to read output from testmodel.py, exit status != 0: 0.3849012110149488 0.39523054099999994 0.031984218 Calling exit ...