Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001742/0.001742, allocations: 75.73 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.001502/0.001502, allocations: 168.9 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.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 9.031 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.1771/0.1771, allocations: 29.42 MB / 290.7 MB, free: 3.293 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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [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.002129/0.002129, allocations: 63.91 kB / 431.2 MB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005715/0.3705, allocations: 4.128 MB / 497.8 MB, free: 35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3723, allocations: 0.9255 MB / 498.7 MB, free: 34.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.3725, allocations: 17.34 kB / 498.7 MB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.3727, allocations: 66.77 kB / 498.8 MB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.3733, allocations: 201.2 kB / 499 MB, free: 34.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.3735, allocations: 101.9 kB / 499.1 MB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004647/0.3739, allocations: 480.2 kB / 499.5 MB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.3742, allocations: 94.16 kB / 499.6 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.3745, allocations: 230.8 kB / 499.9 MB, free: 33.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.3748, allocations: 240.1 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.3749, allocations: 28.69 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.375, allocations: 32.88 kB / 0.4884 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.3751, allocations: 134 kB / 0.4886 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3752, allocations: 140.4 kB / 0.4887 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.3757, allocations: 389.6 kB / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3757, allocations: 0 / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3757, allocations: 0 / 0.4891 GB, free: 33.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3757, allocations: 7.219 kB / 0.4891 GB, free: 33.44 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001318/0.377, allocations: 0.6287 MB / 0.4897 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.377, allocations: 13.55 kB / 0.4897 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.3772, allocations: 50.03 kB / 0.4897 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/0.3779, allocations: 332.8 kB / 0.4901 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3779, allocations: 28.5 kB / 0.4901 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.3779, allocations: 23.25 kB / 0.4901 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.3784, allocations: 360.8 kB / 0.4904 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3785, allocations: 0 / 0.4904 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.3785, allocations: 11.25 kB / 0.4905 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3785, allocations: 10.41 kB / 0.4905 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.3789, allocations: 261.8 kB / 0.4907 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3803, allocations: 1.306 MB / 0.492 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.3806, allocations: 151.2 kB / 0.4921 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3807, allocations: 80.98 kB / 0.4922 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3807, allocations: 3 kB / 0.4922 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3807, allocations: 34.56 kB / 0.4923 GB, free: 31.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.3807, allocations: 0 / 0.4923 GB, free: 31.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0013/0.382, allocations: 0.6119 MB / 0.4928 GB, free: 30.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3821, allocations: 77.11 kB / 0.4929 GB, free: 30.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.3824, allocations: 304.9 kB / 0.4932 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3825, allocations: 33.83 kB / 0.4932 GB, free: 30.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.3826, allocations: 219.2 kB / 0.4935 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.3827, allocations: 57.47 kB / 0.4935 GB, free: 30.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.3828, allocations: 55.39 kB / 0.4936 GB, free: 30.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.3829, allocations: 336.1 kB / 0.4939 GB, free: 30 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.383, allocations: 70.75 kB / 0.494 GB, free: 29.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3831, allocations: 173.7 kB / 0.4941 GB, free: 29.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3834, allocations: 259.1 kB / 0.4944 GB, free: 29.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3834, allocations: 0 / 0.4944 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003386/0.3837, allocations: 285.2 kB / 0.4946 GB, free: 29.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3837, allocations: 9.844 kB / 0.4946 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3837, allocations: 5.875 kB / 0.4946 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3838, allocations: 3.125 kB / 0.4947 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.384, allocations: 57.73 kB / 0.4947 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.384, allocations: 10.03 kB / 0.4947 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3842, allocations: 17.44 kB / 0.4947 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3842, allocations: 17.28 kB / 0.4948 GB, free: 29.48 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 (29): * Single equations (assignments): 29 * 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.0001301/0.3843, allocations: 166.2 kB / 0.4949 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.3844, allocations: 32.11 kB / 0.4949 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3847, allocations: 235.7 kB / 0.4952 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3847, allocations: 2.938 kB / 0.4952 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3847, allocations: 0 / 0.4952 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3847, allocations: 0 / 0.4952 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.3853, allocations: 0.5367 MB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3853, allocations: 0 / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3855, allocations: 37.55 kB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3855, allocations: 0 / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.3855, allocations: 7.594 kB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3855, allocations: 0 / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3855, allocations: 6.359 kB / 0.4957 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.3859, allocations: 425.9 kB / 0.4961 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.386, allocations: 28.83 kB / 0.4962 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.386, allocations: 7.188 kB / 0.4962 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3862, allocations: 6.516 kB / 0.4962 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3862, allocations: 24.97 kB / 0.4962 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3862, allocations: 3.219 kB / 0.4962 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.3864, allocations: 210.7 kB / 0.4964 GB, free: 28.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3864, allocations: 0 / 0.4964 GB, free: 28.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.3867, allocations: 56.5 kB / 0.4965 GB, free: 28.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001064/0.3869, allocations: 99.2 kB / 0.4966 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3872, allocations: 182.8 kB / 0.4967 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3872, allocations: 0 / 0.4967 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3873, allocations: 92.33 kB / 0.4968 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.3878, allocations: 77.39 kB / 0.4969 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/0.3888, allocations: 0.6526 MB / 0.4975 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.3889, allocations: 201 kB / 0.4977 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.3891, allocations: 53.84 kB / 0.4978 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.3891, allocations: 27.44 kB / 0.4978 GB, free: 27.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3892, allocations: 7.094 kB / 0.4978 GB, free: 27.73 MB / 446.1 MB Notification: Performance of Templates: time 0.006487/0.3956, allocations: 3.074 MB / 0.5008 GB, free: 27.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058638743008487] Failed to read output from testmodel.py, exit status != 0: 0.4042818989837542 0.415492899 0.036909844000000004 Calling exit ...