Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001057/0.001057, allocations: 173.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008743/0.0008743, allocations: 94.03 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5071/0.5071, allocations: 78.95 MB / 410.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.623e-05, allocations: 3.984 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1458, allocations: 69.51 MB / 0.5424 GB, free: 5.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.6088, allocations: 103.9 MB / 0.6439 GB, free: 10.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6091, allocations: 73.2 kB / 0.644 GB, free: 10.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2934/0.9025, allocations: 86.16 MB / 0.7281 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.067e-06/0.9025, allocations: 4.844 kB / 0.7281 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002305/0.9028, allocations: 59.94 kB / 0.7282 GB, free: 3.629 MB / 0.5261 GB 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.02134/0.9241, allocations: 3.919 MB / 0.732 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/0.9242, allocations: 16.03 kB / 0.732 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/0.9424, allocations: 2.138 MB / 0.7341 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006637/0.9491, allocations: 2.119 MB / 0.7362 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007087/0.9499, allocations: 0.595 MB / 0.7368 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.9503, allocations: 119.9 kB / 0.7369 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00386/0.9542, allocations: 2.206 MB / 0.739 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/0.9577, allocations: 1.942 MB / 0.7409 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.9577, allocations: 0 / 0.7409 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.958, allocations: 7.938 kB / 0.7409 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.958, allocations: 48 kB / 0.741 GB, free: 6.301 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.02305/0.9811, allocations: 10.88 MB / 0.7516 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009808/0.9909, allocations: 4.762 MB / 0.7563 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/0.9933, allocations: 1.42 MB / 0.7576 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.9936, allocations: 49.89 kB / 0.7577 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.9937, allocations: 56.56 kB / 0.7577 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.248e-06/0.9937, allocations: 0 / 0.7577 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.3943/1.388, allocations: 10.63 MB / 0.7681 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/1.388, allocations: 76.84 kB / 0.7682 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005218/1.393, allocations: 2.508 MB / 0.7706 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008663/1.394, allocations: 26.36 kB / 0.7707 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.395, allocations: 1.367 MB / 0.772 GB, free: 107 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.396, allocations: 0.837 MB / 0.7728 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/1.397, allocations: 3.625 kB / 0.7728 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.397, allocations: 393.4 kB / 0.7732 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/1.398, allocations: 1.12 MB / 0.7743 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/1.4, allocations: 1.37 MB / 0.7756 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/1.403, allocations: 1.25 MB / 0.7769 GB, free: 106 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.403, allocations: 0 / 0.7769 GB, free: 106 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007902/1.411, allocations: 3.936 MB / 0.7807 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.411, allocations: 11.95 kB / 0.7807 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.411, allocations: 4.844 kB / 0.7807 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/1.427, allocations: 4.986 MB / 0.7856 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.429, allocations: 306.1 kB / 0.7859 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.439, allocations: 4.797 MB / 0.7906 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/1.443, allocations: 415.3 kB / 0.791 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/1.443, allocations: 85.47 kB / 0.791 GB, free: 104.9 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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.0004958/1.444, allocations: 137.5 kB / 0.7912 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008141/1.445, allocations: 341.5 kB / 0.7915 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03337/1.478, allocations: 10.9 MB / 0.8021 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/1.478, allocations: 28.91 kB / 0.8022 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.478, allocations: 0 / 0.8022 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.2e-05/1.478, allocations: 16.52 kB / 0.8022 GB, free: 103.9 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.04062/1.519, allocations: 15.13 MB / 0.817 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/1.519, allocations: 0 / 0.817 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.521, allocations: 259.8 kB / 0.8172 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01281/1.534, allocations: 4.384 MB / 0.8215 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006238/1.534, allocations: 22.5 kB / 0.8215 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03231/1.567, allocations: 16.26 MB / 0.8374 GB, free: 96.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.567, allocations: 0 / 0.8374 GB, free: 96.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/1.601, allocations: 12.84 MB / 0.8499 GB, free: 92.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.603, allocations: 0.5565 MB / 0.8505 GB, free: 92.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006526/1.603, allocations: 7.312 kB / 0.8505 GB, free: 92.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/1.606, allocations: 302.8 kB / 0.8508 GB, free: 92.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/1.608, allocations: 0.5121 MB / 0.8513 GB, free: 92.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.608, allocations: 62.64 kB / 0.8513 GB, free: 92.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002493/1.611, allocations: 1.887 MB / 0.8532 GB, free: 91.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.72e-07/1.611, allocations: 0 / 0.8532 GB, free: 91.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002585/1.613, allocations: 0.9064 MB / 0.8541 GB, free: 91.55 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 () * 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.0005751/1.614, allocations: 297.8 kB / 0.8543 GB, free: 91.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.625, allocations: 4.464 MB / 0.8587 GB, free: 90.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.625, allocations: 0 / 0.8587 GB, free: 90.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009531/1.635, allocations: 3.55 MB / 0.8622 GB, free: 87.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.637, allocations: 219.2 kB / 0.8624 GB, free: 87.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008324/1.646, allocations: 4.945 MB / 0.8672 GB, free: 82.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.647, allocations: 1.91 MB / 0.8691 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001242/1.648, allocations: 237.5 kB / 0.8693 GB, free: 81.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/1.649, allocations: 158.2 kB / 0.8694 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/1.649, allocations: 3.094 kB / 0.8694 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.06952/1.718, allocations: 47.81 MB / 0.9161 GB, free: 46.97 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)