Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 175.9 kB / 15.77 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 239.8 MB, free: 1.734 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007413/0.0007412, allocations: 103.8 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4501/0.4501, allocations: 78.62 MB / 420.7 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.000369, allocations: 8 kB / 0.4888 GB, free: 2.914 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 69.35 MB / 0.5565 GB, free: 38.81 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01073/0.368, allocations: 13.99 MB / 0.5702 GB, free: 31.58 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008641/0.3767, allocations: 4.48 MB / 0.5745 GB, free: 28.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.3798, allocations: 31.31 kB / 0.5746 GB, free: 28.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.382, allocations: 0.548 MB / 0.5751 GB, free: 28.08 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.3884, allocations: 2.006 MB / 0.5771 GB, free: 26.81 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.391, allocations: 1.095 MB / 0.5781 GB, free: 26.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005545/0.3966, allocations: 4.346 MB / 0.5824 GB, free: 24.11 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.3977, allocations: 0.6559 MB / 0.583 GB, free: 23.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.4, allocations: 1.561 MB / 0.5845 GB, free: 23.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.402, allocations: 2.13 MB / 0.5866 GB, free: 22.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004845/0.4025, allocations: 188.7 kB / 0.5868 GB, free: 22.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.4035, allocations: 394.6 kB / 0.5872 GB, free: 22.16 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.404, allocations: 0.7335 MB / 0.5879 GB, free: 21.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006491/0.4047, allocations: 0.6072 MB / 0.5885 GB, free: 21.35 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.4077, allocations: 4.06 MB / 0.5925 GB, free: 20.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.4077, allocations: 0 / 0.5925 GB, free: 20.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4077, allocations: 4 kB / 0.5925 GB, free: 20.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.4078, allocations: 0 / 0.5925 GB, free: 20.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03497/0.4428, allocations: 9.123 MB / 0.6014 GB, free: 17.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4429, allocations: 8.531 kB / 0.6014 GB, free: 17.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.4546, allocations: 1.764 MB / 0.6031 GB, free: 17.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.4589, allocations: 2.061 MB / 0.6051 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006827/0.4596, allocations: 0.6993 MB / 0.6058 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005218/0.4601, allocations: 238.4 kB / 0.606 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006206/0.4664, allocations: 2.848 MB / 0.6088 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.4664, allocations: 0 / 0.6088 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.4666, allocations: 75.66 kB / 0.6089 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.4667, allocations: 47.69 kB / 0.6089 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00662/0.4733, allocations: 3.02 MB / 0.6119 GB, free: 13.29 MB / 426.7 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 preOpt removeSimpleEquations (simulation): time 0.01869/0.492, allocations: 11.19 MB / 0.6228 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.5042, allocations: 5.667 MB / 0.6283 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/0.5089, allocations: 2.095 MB / 0.6304 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.5092, allocations: 49.81 kB / 0.6304 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.5093, allocations: 56.56 kB / 0.6305 GB, free: 13.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.528e-06/0.5093, allocations: 0 / 0.6305 GB, free: 13.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1431/0.6523, allocations: 35.42 MB / 0.6651 GB, free: 10.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.6524, allocations: 77.41 kB / 0.6651 GB, free: 10.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005072/0.6575, allocations: 2.874 MB / 0.6679 GB, free: 7.387 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009933/0.6585, allocations: 85.7 kB / 0.668 GB, free: 7.297 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.6598, allocations: 1.268 MB / 0.6693 GB, free: 6.016 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001489/0.6613, allocations: 0.8974 MB / 0.6701 GB, free: 5.105 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.6617, allocations: 84 kB / 0.6702 GB, free: 5.023 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.6619, allocations: 462.9 kB / 0.6707 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005546/0.6675, allocations: 2.448 MB / 0.6731 GB, free: 2.105 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/0.6735, allocations: 2.842 MB / 0.6758 GB, free: 15.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.6794, allocations: 2.624 MB / 0.6784 GB, free: 12.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.6795, allocations: 11.95 kB / 0.6784 GB, free: 12.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01721/0.6967, allocations: 7.693 MB / 0.6859 GB, free: 4.828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.6968, allocations: 8.688 kB / 0.6859 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.6968, allocations: 8 kB / 0.6859 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02094/0.7178, allocations: 6.502 MB / 0.6923 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/0.7214, allocations: 0.6632 MB / 0.6929 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/0.7362, allocations: 6.146 MB / 0.6989 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/0.7416, allocations: 0.5899 MB / 0.6995 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005715/0.7422, allocations: 144 kB / 0.6996 GB, free: 6.734 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.001354/0.7436, allocations: 0.5168 MB / 0.7002 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/0.7444, allocations: 331.7 kB / 0.7005 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03845/0.7829, allocations: 12.86 MB / 0.713 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.7829, allocations: 24 kB / 0.713 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.783, allocations: 0 / 0.713 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-05/0.783, allocations: 11.95 kB / 0.7131 GB, free: 8.91 MB / 0.5105 GB 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.0472/0.8303, allocations: 16.98 MB / 0.7296 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.8303, allocations: 0 / 0.7296 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.8321, allocations: 255.6 kB / 0.7299 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/0.8496, allocations: 5.581 MB / 0.7353 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005962/0.8503, allocations: 51.98 kB / 0.7354 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05267/0.9029, allocations: 22.01 MB / 0.7569 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.903, allocations: 3.938 kB / 0.7569 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2809/1.184, allocations: 15.3 MB / 0.7718 GB, free: 163.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.185, allocations: 0.4975 MB / 0.7723 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.187, allocations: 45.78 kB / 0.7724 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004162/1.191, allocations: 341.1 kB / 0.7727 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001961/1.193, allocations: 0.5148 MB / 0.7732 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.193, allocations: 66.48 kB / 0.7732 GB, free: 163.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003871/1.197, allocations: 1.848 MB / 0.7751 GB, free: 163 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.197, allocations: 0 / 0.7751 GB, free: 163 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005092/1.202, allocations: 1.123 MB / 0.7761 GB, free: 163 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006419/1.203, allocations: 183.8 kB / 0.7763 GB, free: 162.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01836/1.221, allocations: 6.805 MB / 0.783 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.221, allocations: 2.406 kB / 0.783 GB, free: 162.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01207/1.233, allocations: 4.264 MB / 0.7871 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.236, allocations: 267 kB / 0.7874 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.247, allocations: 7.452 MB / 0.7947 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.249, allocations: 1.847 MB / 0.7965 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.25, allocations: 190.2 kB / 0.7967 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.323e-06/1.25, allocations: 0 / 0.7967 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.07441/1.325, allocations: 55 MB / 0.8504 GB, free: 125.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)