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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008431/0.000843, allocations: 86.64 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06101/0.06101, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2764/0.2764, allocations: 78.01 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.261e-05, allocations: 4 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 69.23 MB / 0.5889 GB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5293, allocations: 105.4 MB / 0.6918 GB, free: 11.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.5295, allocations: 75.89 kB / 0.6919 GB, free: 10.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2205/0.75, allocations: 93.6 MB / 0.7833 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7501, allocations: 3.938 kB / 0.7833 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001518/0.7502, allocations: 56 kB / 0.7834 GB, free: 7.602 MB / 0.5105 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.01213/0.7624, allocations: 3.926 MB / 0.7872 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.7624, allocations: 15.98 kB / 0.7872 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007821/0.7632, allocations: 290.5 kB / 0.7875 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007458/0.7707, allocations: 1.275 MB / 0.7887 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.7745, allocations: 1.827 MB / 0.7905 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007101/0.7752, allocations: 0.6575 MB / 0.7912 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000556/0.7758, allocations: 203.9 kB / 0.7914 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.7801, allocations: 2.226 MB / 0.7935 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.7801, allocations: 4 kB / 0.7935 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.7804, allocations: 79.94 kB / 0.7936 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.7804, allocations: 48 kB / 0.7937 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003955/0.7844, allocations: 2.304 MB / 0.7959 GB, free: 10.53 MB / 0.5261 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.02033/0.8047, allocations: 10.65 MB / 0.8063 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00991/0.8147, allocations: 4.843 MB / 0.811 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/0.8175, allocations: 1.506 MB / 0.8125 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.8178, allocations: 41.97 kB / 0.8125 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.8179, allocations: 60.52 kB / 0.8126 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 4.348e-06/0.8179, allocations: 0 / 0.8126 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03321/0.8511, allocations: 10.79 MB / 0.8231 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.8512, allocations: 81.34 kB / 0.8232 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.8556, allocations: 2.354 MB / 0.8255 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007091/0.8563, allocations: 65.7 kB / 0.8256 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.8574, allocations: 1.372 MB / 0.8269 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/0.8588, allocations: 0.87 MB / 0.8278 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.859, allocations: 52 kB / 0.8278 GB, free: 9.031 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.8591, allocations: 390.5 kB / 0.8282 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.8612, allocations: 1.169 MB / 0.8293 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.8634, allocations: 1.427 MB / 0.8307 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.8655, allocations: 1.28 MB / 0.832 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.8655, allocations: 0 / 0.832 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007931/0.8735, allocations: 4.136 MB / 0.836 GB, free: 480 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.8735, allocations: 8 kB / 0.836 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.8736, allocations: 8.688 kB / 0.836 GB, free: 464 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/0.8905, allocations: 5.371 MB / 0.8413 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.8922, allocations: 307.5 kB / 0.8416 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009152/0.9013, allocations: 4.39 MB / 0.8458 GB, free: 6.352 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/0.9054, allocations: 469.8 kB / 0.8463 GB, free: 5.891 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.9058, allocations: 83.97 kB / 0.8464 GB, free: 5.809 MB / 0.573 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.0005056/0.9063, allocations: 216.6 kB / 0.8466 GB, free: 5.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009089/0.9072, allocations: 339.8 kB / 0.8469 GB, free: 5.254 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0326/0.9398, allocations: 11.11 MB / 0.8578 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.9399, allocations: 28 kB / 0.8578 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.9399, allocations: 4 kB / 0.8578 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.024e-05/0.94, allocations: 11.95 kB / 0.8578 GB, free: 10.02 MB / 0.5886 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.3238/1.264, allocations: 15.25 MB / 0.8727 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.264, allocations: 0 / 0.8727 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/1.266, allocations: 258.3 kB / 0.8729 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01467/1.28, allocations: 4.411 MB / 0.8772 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006608/1.281, allocations: 56.42 kB / 0.8773 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0368/1.318, allocations: 16.44 MB / 0.8934 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.318, allocations: 3.938 kB / 0.8934 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/1.352, allocations: 13.03 MB / 0.9061 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.354, allocations: 0.5026 MB / 0.9066 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/1.355, allocations: 44.81 kB / 0.9066 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/1.358, allocations: 344.3 kB / 0.907 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001913/1.36, allocations: 0.5147 MB / 0.9075 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.36, allocations: 65.56 kB / 0.9075 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002914/1.363, allocations: 1.813 MB / 0.9093 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.332e-06/1.363, allocations: 2.188 kB / 0.9093 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003217/1.366, allocations: 0.9858 MB / 0.9103 GB, free: 144.2 MB / 0.5886 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.03293/1.399, allocations: 13.76 MB / 0.9237 GB, free: 141.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.411, allocations: 4.586 MB / 0.9282 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.411, allocations: 3.562 kB / 0.9282 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/1.422, allocations: 3.658 MB / 0.9317 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/1.425, allocations: 265.2 kB / 0.932 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.435, allocations: 5.581 MB / 0.9374 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.436, allocations: 1.907 MB / 0.9393 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001025/1.437, allocations: 253.5 kB / 0.9395 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.439, allocations: 1.358 MB / 0.9409 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/1.439, allocations: 0 / 0.9409 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.544, allocations: 78.72 MB / 1.018 GB, free: 75.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/1.544, allocations: 169.2 kB / 1.018 GB, free: 74.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.344/5.888, allocations: 0 / 1.018 GB, free: 74.88 MB / 0.5886 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)