Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001292/0.001292, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001487/0.001487, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.23 MB / 206.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.1772/0.1772, allocations: 38.52 MB / 353.2 MB, free: 12.6 MB / 286.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [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.001981/0.001981, allocations: 71.89 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 62.46 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008557/0.3137, allocations: 7.624 MB / 0.5507 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006519/0.3202, allocations: 4.49 MB / 0.5551 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.3206, allocations: 16.38 kB / 0.5551 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.3233, allocations: 1.068 MB / 0.5561 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.326, allocations: 1.21 MB / 0.5573 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.327, allocations: 325.9 kB / 0.5576 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.3288, allocations: 1.402 MB / 0.559 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008749/0.3297, allocations: 0.5102 MB / 0.5595 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.3308, allocations: 0.6342 MB / 0.5601 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.3319, allocations: 0.7515 MB / 0.5608 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.776e-05/0.332, allocations: 64 kB / 0.5609 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.3345, allocations: 1.372 MB / 0.5622 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.335, allocations: 486.7 kB / 0.5627 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.3355, allocations: 441.9 kB / 0.5631 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.3376, allocations: 1.46 MB / 0.5645 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3376, allocations: 0 / 0.5645 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3376, allocations: 0 / 0.5645 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.3376, allocations: 4 kB / 0.5645 GB, free: 14.59 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001697/0.3393, allocations: 1.078 MB / 0.5656 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3394, allocations: 11.98 kB / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.3423, allocations: 391.9 kB / 0.566 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.3432, allocations: 437.7 kB / 0.5664 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.3432, allocations: 58.36 kB / 0.5665 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3434, allocations: 68.36 kB / 0.5665 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3451, allocations: 1.18 MB / 0.5677 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.3452, allocations: 4 kB / 0.5677 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.3452, allocations: 31.98 kB / 0.5677 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.45e-05/0.3453, allocations: 73.95 kB / 0.5678 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.3472, allocations: 1.245 MB / 0.569 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.3529, allocations: 3.416 MB / 0.5723 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.3546, allocations: 0.99 MB / 0.5733 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008664/0.3555, allocations: 0.5901 MB / 0.5739 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.072e-05/0.3555, allocations: 24.92 kB / 0.5739 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.3556, allocations: 39.56 kB / 0.5739 GB, free: 4.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.936e-06/0.3556, allocations: 4 kB / 0.5739 GB, free: 4.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.00681/0.3624, allocations: 3.013 MB / 0.5769 GB, free: 1.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3625, allocations: 90.09 kB / 0.577 GB, free: 1.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.3629, allocations: 357.6 kB / 0.5773 GB, free: 1.285 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.363, allocations: 45.69 kB / 0.5774 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3632, allocations: 320.9 kB / 0.5777 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.3635, allocations: 329.1 kB / 0.578 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.3638, allocations: 158.7 kB / 0.5781 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.364, allocations: 366.8 kB / 0.5785 GB, free: 64 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.3647, allocations: 469.7 kB / 0.5789 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/0.3655, allocations: 0.5695 MB / 0.5795 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.3672, allocations: 1.117 MB / 0.5806 GB, free: 13.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3672, allocations: 0 / 0.5806 GB, free: 13.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002615/0.3698, allocations: 1.473 MB / 0.582 GB, free: 12.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3698, allocations: 4 kB / 0.582 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3698, allocations: 4 kB / 0.582 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009673/0.3708, allocations: 332.8 kB / 0.5823 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.3715, allocations: 179.7 kB / 0.5825 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.3773, allocations: 4.085 MB / 0.5865 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.3778, allocations: 47.94 kB / 0.5865 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.3779, allocations: 39.98 kB / 0.5866 GB, free: 7.551 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004482/0.3784, allocations: 285.7 kB / 0.5869 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3785, allocations: 55.67 kB / 0.5869 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.3814, allocations: 1.559 MB / 0.5884 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3814, allocations: 8 kB / 0.5884 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.3814, allocations: 12 kB / 0.5884 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.3814, allocations: 7.969 kB / 0.5885 GB, free: 5.605 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.3868, allocations: 2.988 MB / 0.5914 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3868, allocations: 4 kB / 0.5914 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.3875, allocations: 171.7 kB / 0.5915 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008032/0.3883, allocations: 288.6 kB / 0.5918 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.3883, allocations: 20 kB / 0.5918 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005401/0.3937, allocations: 3.814 MB / 0.5956 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3937, allocations: 4 kB / 0.5956 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.3964, allocations: 1.594 MB / 0.5971 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.3966, allocations: 67.59 kB / 0.5972 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.3967, allocations: 24 kB / 0.5972 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.3972, allocations: 43.91 kB / 0.5972 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.3973, allocations: 84.78 kB / 0.5973 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/0.3974, allocations: 43.92 kB / 0.5974 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.3977, allocations: 263.1 kB / 0.5976 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3977, allocations: 3.938 kB / 0.5976 GB, free: 11.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009713/0.3987, allocations: 300 kB / 0.5979 GB, free: 11.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.3989, allocations: 131 kB / 0.598 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.4011, allocations: 1.335 MB / 0.5993 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.4011, allocations: 4.062 kB / 0.5993 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.4024, allocations: 0.7968 MB / 0.6001 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.4031, allocations: 101.1 kB / 0.6002 GB, free: 9.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.4064, allocations: 1.907 MB / 0.6021 GB, free: 7.227 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000874/0.4073, allocations: 1.072 MB / 0.6031 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.4076, allocations: 71.39 kB / 0.6032 GB, free: 6.055 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4076, allocations: 0 / 0.6032 GB, free: 6.055 MB / 446.1 MB Notification: Performance of Templates: time 0.01876/0.4263, allocations: 12.49 MB / 0.6154 GB, free: 9.539 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.597407181048766] Failed to read output from testmodel.py, exit status != 0: 0.4354415209963918 0.450068117 0.109182337 Calling exit ...