Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001344/0.001344, 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.001668/0.001668, 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.594/1.594, allocations: 177.2 MB / 204.9 MB, free: 9 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.1752/0.1752, allocations: 29.42 MB / 290.7 MB, free: 3.262 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [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.002287/0.002287, allocations: 63.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3723, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004162/0.3764, allocations: 3.87 MB / 497.5 MB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3776, allocations: 0.8461 MB / 498.4 MB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3777, allocations: 21.06 kB / 498.4 MB, free: 34.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3778, allocations: 43.25 kB / 498.4 MB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.3782, allocations: 171.2 kB / 498.6 MB, free: 34.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.3783, allocations: 87.3 kB / 498.7 MB, free: 34.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.3786, allocations: 371.7 kB / 499 MB, free: 34.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3787, allocations: 57.14 kB / 499.1 MB, free: 34.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.379, allocations: 186.3 kB / 499.3 MB, free: 34.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.3792, allocations: 167 kB / 499.4 MB, free: 34.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.3792, allocations: 15.78 kB / 499.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.3793, allocations: 19.41 kB / 499.5 MB, free: 34.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.3793, allocations: 77.72 kB / 499.5 MB, free: 34.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.3794, allocations: 106.9 kB / 499.7 MB, free: 33.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3796, allocations: 262.4 kB / 499.9 MB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3796, allocations: 0 / 499.9 MB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3796, allocations: 0 / 499.9 MB, free: 33.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3796, allocations: 0 / 499.9 MB, free: 33.86 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006269/0.3803, allocations: 0.4912 MB / 0.4887 GB, free: 33.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.587e-05/0.3803, allocations: 13.3 kB / 0.4887 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.3803, allocations: 28.91 kB / 0.4887 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.3807, allocations: 271 kB / 0.489 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3807, allocations: 17.88 kB / 0.489 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.3807, allocations: 20.28 kB / 0.489 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.381, allocations: 268.9 kB / 0.4893 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.381, allocations: 3.094 kB / 0.4893 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.3811, allocations: 7.125 kB / 0.4893 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3811, allocations: 7.156 kB / 0.4893 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3813, allocations: 163 kB / 0.4894 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008256/0.3821, allocations: 1.062 MB / 0.4905 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3822, allocations: 76.91 kB / 0.4905 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.3822, allocations: 30.58 kB / 0.4906 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3823, allocations: 7.281 kB / 0.4906 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.3823, allocations: 38.5 kB / 0.4906 GB, free: 31.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3823, allocations: 0 / 0.4906 GB, free: 31.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.3828, allocations: 337.5 kB / 0.4909 GB, free: 31.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.3828, allocations: 77.11 kB / 0.491 GB, free: 31.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.383, allocations: 240.6 kB / 0.4912 GB, free: 31.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.383, allocations: 29.64 kB / 0.4913 GB, free: 31.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3831, allocations: 194 kB / 0.4915 GB, free: 31.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3831, allocations: 33.61 kB / 0.4915 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.3831, allocations: 41.95 kB / 0.4915 GB, free: 31.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.3832, allocations: 336 kB / 0.4918 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.3832, allocations: 24.22 kB / 0.4919 GB, free: 30.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.3833, allocations: 120.8 kB / 0.492 GB, free: 30.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3834, allocations: 165.5 kB / 0.4921 GB, free: 30.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3834, allocations: 0 / 0.4921 GB, free: 30.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002032/0.3836, allocations: 191.4 kB / 0.4923 GB, free: 30.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3836, allocations: 9.438 kB / 0.4923 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3836, allocations: 3.312 kB / 0.4923 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3837, allocations: 7.188 kB / 0.4923 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3838, allocations: 42.66 kB / 0.4924 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3838, allocations: 13.39 kB / 0.4924 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.3839, allocations: 6.969 kB / 0.4924 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3839, allocations: 9.562 kB / 0.4924 GB, free: 30.42 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 (22): * Single equations (assignments): 22 * 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 8.759e-05/0.384, allocations: 154.8 kB / 0.4926 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.384, allocations: 21.52 kB / 0.4926 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.3841, allocations: 93.84 kB / 0.4927 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3841, allocations: 7 kB / 0.4927 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3841, allocations: 0 / 0.4927 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3842, allocations: 0 / 0.4927 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.3845, allocations: 347.3 kB / 0.493 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3845, allocations: 0 / 0.493 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.3845, allocations: 19.94 kB / 0.493 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3845, allocations: 10.97 kB / 0.493 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.3846, allocations: 0 / 0.493 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3846, allocations: 3.125 kB / 0.493 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3846, allocations: 448 / 0.493 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3847, allocations: 232.3 kB / 0.4933 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.3848, allocations: 17.88 kB / 0.4933 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3848, allocations: 4 kB / 0.4933 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3849, allocations: 4 kB / 0.4933 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.3849, allocations: 9.375 kB / 0.4933 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3849, allocations: 0 / 0.4933 GB, free: 29.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.416e-05/0.385, allocations: 170.8 kB / 0.4935 GB, free: 29.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.385, allocations: 4.062 kB / 0.4935 GB, free: 29.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.3853, allocations: 40.25 kB / 0.4935 GB, free: 29.59 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 (9): * Single equations (assignments): 8 * 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 6.599e-05/0.3854, allocations: 91.53 kB / 0.4936 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3855, allocations: 91.22 kB / 0.4937 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3855, allocations: 0.875 kB / 0.4937 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.3856, allocations: 30.25 kB / 0.4937 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.386, allocations: 66.36 kB / 0.4938 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.3867, allocations: 0.4998 MB / 0.4943 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3868, allocations: 149.8 kB / 0.4944 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.637e-05/0.3868, allocations: 29.05 kB / 0.4944 GB, free: 29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.3869, allocations: 17.38 kB / 0.4944 GB, free: 28.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3869, allocations: 6.969 kB / 0.4945 GB, free: 28.98 MB / 446.1 MB Notification: Performance of Templates: time 0.004455/0.3913, allocations: 1.774 MB / 0.4962 GB, free: 28.73 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.018612843938172] Failed to read output from testmodel.py, exit status != 0: 0.3997958399122581 0.41053426000000004 0.027862088 Calling exit ...