Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001404/0.001404, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001592/0.001592, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.469/1.469, allocations: 177.2 MB / 204.9 MB, free: 9.047 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.316 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [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.002265/0.002265, allocations: 63.89 kB / 431.2 MB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3327, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005573/0.3383, allocations: 4.481 MB / 498.1 MB, free: 34.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.3408, allocations: 1.418 MB / 499.5 MB, free: 33.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.341, allocations: 21.62 kB / 499.5 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.342, allocations: 366.4 kB / 499.9 MB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.3425, allocations: 245.7 kB / 0.4884 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.3432, allocations: 259.4 kB / 0.4887 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.3437, allocations: 0.5507 MB / 0.4892 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.3441, allocations: 244.5 kB / 0.4894 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.3444, allocations: 279.4 kB / 0.4897 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.3449, allocations: 321.4 kB / 0.49 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.3449, allocations: 34 kB / 0.49 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.3453, allocations: 153.5 kB / 0.4902 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3454, allocations: 233.8 kB / 0.4904 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3456, allocations: 203.6 kB / 0.4906 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.3462, allocations: 0.61 MB / 0.4912 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3462, allocations: 4 kB / 0.4912 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3462, allocations: 3.938 kB / 0.4912 GB, free: 32.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.3463, allocations: 0 / 0.4912 GB, free: 32.35 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001208/0.3475, allocations: 0.7191 MB / 0.4919 GB, free: 31.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3475, allocations: 13.23 kB / 0.4919 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000741/0.3482, allocations: 128.2 kB / 0.492 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.3489, allocations: 357.2 kB / 0.4924 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3489, allocations: 28.91 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3491, allocations: 56.8 kB / 0.4925 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.35, allocations: 0.6421 MB / 0.4931 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.35, allocations: 7.031 kB / 0.4931 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.35, allocations: 18.16 kB / 0.4931 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.3502, allocations: 28.91 kB / 0.4931 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.3508, allocations: 480.2 kB / 0.4936 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.3533, allocations: 2.786 MB / 0.4963 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3535, allocations: 167.3 kB / 0.4965 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.3536, allocations: 105.8 kB / 0.4966 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3537, allocations: 10.84 kB / 0.4966 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3537, allocations: 33.75 kB / 0.4966 GB, free: 28.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.3537, allocations: 0 / 0.4966 GB, free: 28.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001199/0.3549, allocations: 0.7798 MB / 0.4974 GB, free: 28.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.355, allocations: 80.3 kB / 0.4975 GB, free: 28.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3552, allocations: 358.8 kB / 0.4978 GB, free: 27.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3553, allocations: 32.89 kB / 0.4978 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3554, allocations: 312.1 kB / 0.4981 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3554, allocations: 82.58 kB / 0.4982 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.3555, allocations: 83.02 kB / 0.4983 GB, free: 27.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.3556, allocations: 346.6 kB / 0.4986 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3558, allocations: 131.8 kB / 0.4988 GB, free: 27.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.356, allocations: 327.9 kB / 0.4991 GB, free: 26.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.3564, allocations: 0.4891 MB / 0.4995 GB, free: 26.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3564, allocations: 7.156 kB / 0.4996 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000859/0.3573, allocations: 0.5683 MB / 0.5001 GB, free: 26.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3573, allocations: 9.25 kB / 0.5001 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004445/0.3578, allocations: 275.3 kB / 0.5004 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.3581, allocations: 81.97 kB / 0.5005 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.3584, allocations: 96.91 kB / 0.5005 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.3597, allocations: 1.591 MB / 0.5021 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3599, allocations: 21.8 kB / 0.5021 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.3599, allocations: 22.75 kB / 0.5021 GB, free: 24.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.3601, allocations: 220.8 kB / 0.5024 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.3602, allocations: 35.97 kB / 0.5024 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.3606, allocations: 291.7 kB / 0.5027 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3606, allocations: 3.281 kB / 0.5027 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.3606, allocations: 0 / 0.5027 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3606, allocations: 3.344 kB / 0.5027 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.3616, allocations: 0.6669 MB / 0.5033 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3616, allocations: 0 / 0.5033 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.3619, allocations: 64.38 kB / 0.5034 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3619, allocations: 3.375 kB / 0.5034 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3619, allocations: 3.375 kB / 0.5034 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3619, allocations: 3.938 kB / 0.5034 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3619, allocations: 7.062 kB / 0.5034 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.3624, allocations: 488.4 kB / 0.5039 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3624, allocations: 25.09 kB / 0.5039 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.3625, allocations: 10.62 kB / 0.5039 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3627, allocations: 10.28 kB / 0.5039 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3627, allocations: 16.77 kB / 0.5039 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3627, allocations: 18.12 kB / 0.5039 GB, free: 23.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.3629, allocations: 229.5 kB / 0.5042 GB, free: 23.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3629, allocations: 0 / 0.5042 GB, free: 23.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.3634, allocations: 95.72 kB / 0.5043 GB, free: 23.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.0001024/0.3635, allocations: 102.9 kB / 0.5044 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.3642, allocations: 439.1 kB / 0.5048 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3642, allocations: 0 / 0.5048 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3644, allocations: 109.6 kB / 0.5049 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.3649, allocations: 72.7 kB / 0.5049 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3663, allocations: 0.9883 MB / 0.5059 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3666, allocations: 279.9 kB / 0.5062 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002445/0.3668, allocations: 109.5 kB / 0.5063 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.3669, allocations: 30.3 kB / 0.5063 GB, free: 22.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3669, allocations: 0 / 0.5063 GB, free: 22.35 MB / 446.1 MB Notification: Performance of Templates: time 0.007688/0.3746, allocations: 3.574 MB / 0.5098 GB, free: 21.9 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.074867508024909] Failed to read output from testmodel.py, exit status != 0: 0.3829757699277252 0.39554186499999994 0.04634893599999994 Calling exit ...