Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.116/0.116, allocations: 12.59 MB / 28.22 MB, free: 0.7773 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 111.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 196.4 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5055/0.5055, allocations: 78.49 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 146.2 kB / 0.5559 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1694, allocations: 68.12 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01947/0.189, allocations: 15.01 MB / 0.637 GB, free: 364 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01741/0.2065, allocations: 4.585 MB / 0.6415 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005763/0.2124, allocations: 28 kB / 0.6415 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00518/0.2176, allocations: 0.775 MB / 0.6423 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.2283, allocations: 2.568 MB / 0.6448 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.233, allocations: 1.34 MB / 0.6461 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.2454, allocations: 4.899 MB / 0.6509 GB, free: 2.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.248, allocations: 0.7879 MB / 0.6517 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.2521, allocations: 1.891 MB / 0.6535 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.2562, allocations: 2.451 MB / 0.6559 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.2579, allocations: 400 kB / 0.6563 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.2605, allocations: 0.6364 MB / 0.6569 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00194/0.2625, allocations: 0.9728 MB / 0.6579 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004446/0.267, allocations: 2.005 MB / 0.6598 GB, free: 8.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008901/0.2759, allocations: 5.322 MB / 0.665 GB, free: 3.609 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2759, allocations: 0 / 0.665 GB, free: 3.609 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2759, allocations: 0 / 0.665 GB, free: 3.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000249/0.2762, allocations: 4 kB / 0.665 GB, free: 3.605 MB / 478.1 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.04184/0.318, allocations: 9.519 MB / 0.6743 GB, free: 10.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.3181, allocations: 15.97 kB / 0.6743 GB, free: 9.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.3298, allocations: 1.744 MB / 0.676 GB, free: 8.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005745/0.3355, allocations: 2.171 MB / 0.6782 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008959/0.3365, allocations: 0.6702 MB / 0.6788 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/0.3378, allocations: 243.8 kB / 0.679 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008284/0.3461, allocations: 2.682 MB / 0.6817 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/0.3461, allocations: 0 / 0.6817 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/0.3467, allocations: 79.98 kB / 0.6817 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.3467, allocations: 44 kB / 0.6818 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007123/0.3539, allocations: 2.834 MB / 0.6845 GB, free: 15.36 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.025/0.3789, allocations: 11 MB / 0.6953 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.3913, allocations: 4.968 MB / 0.7001 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/0.3959, allocations: 1.931 MB / 0.702 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/0.3964, allocations: 49.94 kB / 0.7021 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.3964, allocations: 56.56 kB / 0.7021 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 4.779e-06/0.3965, allocations: 0 / 0.7021 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.5102/0.9067, allocations: 29.55 MB / 0.731 GB, free: 77.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.9068, allocations: 77.03 kB / 0.731 GB, free: 77.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009853/0.9167, allocations: 2.906 MB / 0.7339 GB, free: 76.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/0.9181, allocations: 82.2 kB / 0.734 GB, free: 76.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.92, allocations: 1.265 MB / 0.7352 GB, free: 75.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002158/0.9222, allocations: 0.8939 MB / 0.7361 GB, free: 74.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005288/0.9275, allocations: 0.7515 MB / 0.7368 GB, free: 74.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.9276, allocations: 302.3 kB / 0.7371 GB, free: 73.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00778/0.9354, allocations: 2.288 MB / 0.7393 GB, free: 72.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008226/0.9437, allocations: 2.679 MB / 0.7419 GB, free: 71.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.9552, allocations: 4.849 MB / 0.7467 GB, free: 68.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/0.9553, allocations: 3.938 kB / 0.7467 GB, free: 68.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.02112/0.9764, allocations: 7.227 MB / 0.7537 GB, free: 63.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.9765, allocations: 4 kB / 0.7537 GB, free: 63.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.9766, allocations: 11.98 kB / 0.7538 GB, free: 63.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/0.9944, allocations: 5.726 MB / 0.7593 GB, free: 57.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/0.9986, allocations: 0.667 MB / 0.76 GB, free: 57.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.013, allocations: 5.443 MB / 0.7653 GB, free: 51.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005908/1.019, allocations: 0.5117 MB / 0.7658 GB, free: 51.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.02, allocations: 141 kB / 0.766 GB, free: 51.13 MB / 0.5137 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.002563/1.023, allocations: 0.5222 MB / 0.7665 GB, free: 50.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/1.024, allocations: 335.7 kB / 0.7668 GB, free: 50.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.032/1.056, allocations: 10.52 MB / 0.7771 GB, free: 39.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/1.056, allocations: 31.36 kB / 0.7771 GB, free: 39.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.056, allocations: 3.938 kB / 0.7771 GB, free: 39.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/1.056, allocations: 15.95 kB / 0.7771 GB, free: 39.63 MB / 0.5137 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.03983/1.096, allocations: 14.62 MB / 0.7914 GB, free: 24.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/1.096, allocations: 0 / 0.7914 GB, free: 24.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/1.098, allocations: 263.6 kB / 0.7916 GB, free: 24.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/1.113, allocations: 4.761 MB / 0.7963 GB, free: 19.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008516/1.114, allocations: 54.39 kB / 0.7963 GB, free: 19.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04997/1.164, allocations: 21.45 MB / 0.8173 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.164, allocations: 0.625 kB / 0.8173 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0411/1.205, allocations: 12.82 MB / 0.8298 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.207, allocations: 492.1 kB / 0.8303 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001792/1.209, allocations: 48 kB / 0.8303 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003849/1.212, allocations: 247.7 kB / 0.8306 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00243/1.215, allocations: 0.5179 MB / 0.8311 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005524/1.215, allocations: 66.98 kB / 0.8311 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004217/1.22, allocations: 1.885 MB / 0.833 GB, free: 13.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.22, allocations: 0 / 0.833 GB, free: 13.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007263/1.227, allocations: 1.126 MB / 0.8341 GB, free: 12.86 MB / 0.545 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008483/1.228, allocations: 176.9 kB / 0.8342 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01846/1.246, allocations: 6.155 MB / 0.8402 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.246, allocations: 0 / 0.8402 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01206/1.258, allocations: 3.789 MB / 0.8439 GB, free: 2.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/1.263, allocations: 266.8 kB / 0.8442 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.278, allocations: 6.278 MB / 0.8503 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.28, allocations: 1.845 MB / 0.8521 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001648/1.282, allocations: 288.9 kB / 0.8524 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/1.282, allocations: 183.4 kB / 0.8526 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.282, allocations: 0 / 0.8526 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of Templates: time 0.1079/1.39, allocations: 61.82 MB / 0.9129 GB, free: 12.01 MB / 0.6231 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)