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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_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.000979/0.0009791, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.177/1.177, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007933/0.0007933, allocations: 93.12 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4556/0.4556, allocations: 78.9 MB / 415.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.143e-05, allocations: 4 kB / 492.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 69.49 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4837, allocations: 104.6 MB / 0.6513 GB, free: 11.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.4839, allocations: 67.97 kB / 0.6514 GB, free: 10.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5395/1.023, allocations: 87.45 MB / 0.7368 GB, free: 71.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/1.023, allocations: 0 / 0.7368 GB, free: 71.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002497/1.024, allocations: 60.59 kB / 0.7369 GB, free: 71.03 MB / 490.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.01179/1.035, allocations: 3.927 MB / 0.7407 GB, free: 67.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.036, allocations: 11.97 kB / 0.7407 GB, free: 67.03 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001014/1.037, allocations: 291.9 kB / 0.741 GB, free: 66.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/1.049, allocations: 2.145 MB / 0.7431 GB, free: 64.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005506/1.054, allocations: 2.119 MB / 0.7452 GB, free: 62.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/1.055, allocations: 0.6613 MB / 0.7458 GB, free: 61.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009799/1.056, allocations: 199.9 kB / 0.746 GB, free: 61.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006189/1.062, allocations: 2.226 MB / 0.7482 GB, free: 59.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/1.062, allocations: 0 / 0.7482 GB, free: 59.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/1.063, allocations: 84 kB / 0.7482 GB, free: 59.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/1.063, allocations: 48 kB / 0.7483 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/1.067, allocations: 2.3 MB / 0.7505 GB, free: 56.8 MB / 490.7 MB 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.02444/1.092, allocations: 11.21 MB / 0.7615 GB, free: 45.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009259/1.101, allocations: 4.843 MB / 0.7662 GB, free: 39.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/1.104, allocations: 1.498 MB / 0.7677 GB, free: 38.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/1.104, allocations: 45.95 kB / 0.7677 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.104, allocations: 64.5 kB / 0.7678 GB, free: 38.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.278e-06/1.104, allocations: 0 / 0.7678 GB, free: 38.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03174/1.136, allocations: 10.78 MB / 0.7783 GB, free: 27.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/1.136, allocations: 77.41 kB / 0.7784 GB, free: 27.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/1.142, allocations: 2.71 MB / 0.781 GB, free: 24.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007146/1.142, allocations: 65.7 kB / 0.7811 GB, free: 24.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.143, allocations: 1.36 MB / 0.7824 GB, free: 23.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.145, allocations: 0.87 MB / 0.7833 GB, free: 22.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/1.146, allocations: 48 kB / 0.7833 GB, free: 22.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/1.146, allocations: 398.5 kB / 0.7837 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/1.148, allocations: 1.165 MB / 0.7848 GB, free: 20.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/1.15, allocations: 1.431 MB / 0.7862 GB, free: 19.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/1.153, allocations: 1.273 MB / 0.7875 GB, free: 18.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.153, allocations: 4 kB / 0.7875 GB, free: 18.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007716/1.161, allocations: 4.136 MB / 0.7915 GB, free: 13.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.161, allocations: 4 kB / 0.7915 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.161, allocations: 11.94 kB / 0.7915 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/1.176, allocations: 5.368 MB / 0.7968 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.177, allocations: 307.5 kB / 0.7971 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00815/1.185, allocations: 4.39 MB / 0.8014 GB, free: 3.734 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/1.189, allocations: 469.8 kB / 0.8018 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/1.19, allocations: 79.97 kB / 0.8019 GB, free: 3.195 MB / 490.7 MB 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.0004846/1.19, allocations: 216.7 kB / 0.8021 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.191, allocations: 343.7 kB / 0.8024 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03215/1.224, allocations: 11.12 MB / 0.8133 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/1.224, allocations: 27.94 kB / 0.8133 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.224, allocations: 4 kB / 0.8133 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-05/1.224, allocations: 11.95 kB / 0.8133 GB, free: 7.395 MB / 0.4948 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.04015/1.264, allocations: 15.56 MB / 0.8285 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.264, allocations: 0 / 0.8285 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.266, allocations: 263.6 kB / 0.8288 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01385/1.28, allocations: 4.411 MB / 0.8331 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006776/1.28, allocations: 52 kB / 0.8331 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03532/1.316, allocations: 16.44 MB / 0.8492 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.316, allocations: 0 / 0.8492 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0355/1.351, allocations: 13.05 MB / 0.8619 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/1.354, allocations: 0.5704 MB / 0.8625 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/1.356, allocations: 44 kB / 0.8625 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004712/1.36, allocations: 343.7 kB / 0.8628 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002656/1.363, allocations: 0.5099 MB / 0.8633 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.363, allocations: 68 kB / 0.8634 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004579/1.368, allocations: 2.075 MB / 0.8654 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.7e-07/1.368, allocations: 0 / 0.8654 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004213/1.372, allocations: 0.9949 MB / 0.8664 GB, free: 496 kB / 0.5417 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.03671/1.409, allocations: 13.76 MB / 0.8798 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.422, allocations: 4.586 MB / 0.8843 GB, free: 14 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.422, allocations: 8 kB / 0.8843 GB, free: 13.99 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01105/1.433, allocations: 3.668 MB / 0.8879 GB, free: 10.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/1.436, allocations: 263.3 kB / 0.8882 GB, free: 10.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.452, allocations: 5.59 MB / 0.8936 GB, free: 4.391 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/1.454, allocations: 1.906 MB / 0.8955 GB, free: 2.453 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001621/1.455, allocations: 241.6 kB / 0.8957 GB, free: 2.215 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/1.458, allocations: 1.362 MB / 0.897 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of SimCode: time 8.92e-07/1.458, allocations: 4 kB / 0.897 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/1.861, allocations: 81.4 MB / 0.9765 GB, free: 122.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/1.861, allocations: 167.3 kB / 0.9767 GB, free: 122.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/6.289, allocations: 0 / 0.9767 GB, free: 122.5 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)