Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 180.9 kB / 7.651 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.413/1.413, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008521/0.0008521, allocations: 100.8 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4847/0.4847, allocations: 78.07 MB / 409.3 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.15e-05, allocations: 3.938 kB / 485 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 69.37 MB / 0.5414 GB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.595, allocations: 103.3 MB / 0.6422 GB, free: 12.17 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5953, allocations: 71.97 kB / 0.6423 GB, free: 12.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2332/0.8286, allocations: 94.47 MB / 0.7346 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8286, allocations: 3.938 kB / 0.7346 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001588/0.8288, allocations: 56 kB / 0.7346 GB, free: 13.22 MB / 0.5417 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.01236/0.8411, allocations: 3.93 MB / 0.7384 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.8412, allocations: 12.03 kB / 0.7385 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007909/0.8491, allocations: 1.268 MB / 0.7397 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/0.8535, allocations: 1.838 MB / 0.7415 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008118/0.8543, allocations: 0.5872 MB / 0.7421 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006449/0.855, allocations: 123.9 kB / 0.7422 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004676/0.8596, allocations: 2.202 MB / 0.7443 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/0.8636, allocations: 1.948 MB / 0.7462 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.8637, allocations: 0 / 0.7462 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.8639, allocations: 3.953 kB / 0.7462 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.8639, allocations: 48 kB / 0.7463 GB, free: 1.043 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.02307/0.887, allocations: 10.31 MB / 0.7564 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.8976, allocations: 4.764 MB / 0.761 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3586/1.256, allocations: 1.425 MB / 0.7624 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004429/1.257, allocations: 45.17 kB / 0.7624 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.257, allocations: 57.25 kB / 0.7625 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.268e-06/1.257, allocations: 0 / 0.7625 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.03176/1.289, allocations: 10.63 MB / 0.7729 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/1.289, allocations: 75.78 kB / 0.773 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/1.292, allocations: 2.17 MB / 0.7751 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006259/1.293, allocations: 28.44 kB / 0.7751 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008704/1.294, allocations: 1.374 MB / 0.7764 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.295, allocations: 0.8356 MB / 0.7773 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.295, allocations: 1.219 kB / 0.7773 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.295, allocations: 394.4 kB / 0.7776 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/1.297, allocations: 1.123 MB / 0.7787 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.299, allocations: 1.37 MB / 0.7801 GB, free: 107 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/1.301, allocations: 1.253 MB / 0.7813 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.301, allocations: 1.656 kB / 0.7813 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007488/1.309, allocations: 3.929 MB / 0.7851 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.309, allocations: 6.75 kB / 0.7851 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.309, allocations: 6.969 kB / 0.7851 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/1.325, allocations: 4.989 MB / 0.79 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.326, allocations: 310.7 kB / 0.7903 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009674/1.336, allocations: 4.786 MB / 0.795 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/1.341, allocations: 422.8 kB / 0.7954 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/1.341, allocations: 80.81 kB / 0.7955 GB, free: 105.7 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.0005342/1.342, allocations: 133.1 kB / 0.7956 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03532/1.377, allocations: 10.64 MB / 0.806 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002034/1.379, allocations: 343.6 kB / 0.8063 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/1.412, allocations: 10.89 MB / 0.8169 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.129e-05/1.412, allocations: 24.28 kB / 0.817 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.412, allocations: 0.6562 kB / 0.817 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.02e-05/1.412, allocations: 13.97 kB / 0.817 GB, free: 104.1 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.03657/1.449, allocations: 14.83 MB / 0.8315 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.449, allocations: 0 / 0.8315 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.451, allocations: 257.9 kB / 0.8317 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/1.464, allocations: 4.388 MB / 0.836 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009058/1.465, allocations: 21.39 kB / 0.836 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03261/1.497, allocations: 16.25 MB / 0.8519 GB, free: 94.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.497, allocations: 7.844 kB / 0.8519 GB, free: 94.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03383/1.531, allocations: 12.84 MB / 0.8644 GB, free: 87.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/1.533, allocations: 498 kB / 0.8649 GB, free: 86.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.534, allocations: 8 kB / 0.8649 GB, free: 86.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003637/1.538, allocations: 299.9 kB / 0.8652 GB, free: 86.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001788/1.54, allocations: 0.516 MB / 0.8657 GB, free: 86.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/1.54, allocations: 63.75 kB / 0.8658 GB, free: 86.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002502/1.542, allocations: 1.635 MB / 0.8674 GB, free: 84.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.11e-07/1.542, allocations: 1.125 kB / 0.8674 GB, free: 84.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003495/1.546, allocations: 0.8869 MB / 0.8682 GB, free: 83.8 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.03518/1.581, allocations: 13.5 MB / 0.8814 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.594, allocations: 4.458 MB / 0.8858 GB, free: 68.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.594, allocations: 0 / 0.8858 GB, free: 68.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01053/1.605, allocations: 3.548 MB / 0.8892 GB, free: 65.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.609, allocations: 219.9 kB / 0.8894 GB, free: 65.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.626, allocations: 5.371 MB / 0.8947 GB, free: 60.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/1.628, allocations: 1.907 MB / 0.8965 GB, free: 59.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001599/1.63, allocations: 237.2 kB / 0.8968 GB, free: 58.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/1.632, allocations: 1.36 MB / 0.8981 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/1.632, allocations: 0 / 0.8981 GB, free: 57.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.755, allocations: 72.53 MB / 0.9689 GB, free: 10.05 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.755, allocations: 123.2 kB / 0.969 GB, free: 9.859 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/6.575, allocations: 0 / 0.969 GB, free: 9.859 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)