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.001686/0.001686, allocations: 174.6 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.489/1.489, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008451/0.0008454, allocations: 88.64 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4346/0.4346, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.464e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.352, allocations: 69.34 MB / 0.548 GB, free: 20.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4764, allocations: 103.9 MB / 0.6495 GB, free: 12.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4766, allocations: 79.97 kB / 0.6496 GB, free: 12.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5306/1.007, allocations: 95.93 MB / 0.7433 GB, free: 64.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/1.007, allocations: 1.031 kB / 0.7433 GB, free: 64.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002753/1.008, allocations: 52 kB / 0.7434 GB, free: 64.46 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.01238/1.02, allocations: 3.931 MB / 0.7472 GB, free: 60.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.02, allocations: 11.97 kB / 0.7472 GB, free: 60.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/1.021, allocations: 283.9 kB / 0.7475 GB, free: 60.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007867/1.029, allocations: 1.279 MB / 0.7487 GB, free: 58.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/1.034, allocations: 1.826 MB / 0.7505 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007498/1.035, allocations: 0.6692 MB / 0.7512 GB, free: 56.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/1.036, allocations: 195.9 kB / 0.7513 GB, free: 56.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006127/1.042, allocations: 2.233 MB / 0.7535 GB, free: 53.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/1.043, allocations: 0 / 0.7535 GB, free: 53.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004897/1.043, allocations: 83.94 kB / 0.7536 GB, free: 53.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/1.043, allocations: 44 kB / 0.7536 GB, free: 53.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/1.048, allocations: 2.304 MB / 0.7559 GB, free: 51.39 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.02127/1.069, allocations: 10.65 MB / 0.7663 GB, free: 40.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009674/1.079, allocations: 4.854 MB / 0.771 GB, free: 35.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/1.081, allocations: 1.498 MB / 0.7725 GB, free: 33.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/1.082, allocations: 41.95 kB / 0.7725 GB, free: 33.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.082, allocations: 64.55 kB / 0.7726 GB, free: 33.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.218e-06/1.082, allocations: 4 kB / 0.7726 GB, free: 33.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.0325/1.114, allocations: 10.8 MB / 0.7832 GB, free: 22.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/1.114, allocations: 77.41 kB / 0.7832 GB, free: 22.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/1.12, allocations: 2.354 MB / 0.7855 GB, free: 20.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007802/1.12, allocations: 65.7 kB / 0.7856 GB, free: 20.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.122, allocations: 1.372 MB / 0.7869 GB, free: 18.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.123, allocations: 0.8701 MB / 0.7878 GB, free: 17.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/1.124, allocations: 44 kB / 0.7878 GB, free: 17.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/1.124, allocations: 398.5 kB / 0.7882 GB, free: 17.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/1.126, allocations: 1.165 MB / 0.7893 GB, free: 16.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/1.129, allocations: 1.427 MB / 0.7907 GB, free: 14.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/1.131, allocations: 1.273 MB / 0.792 GB, free: 13.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.131, allocations: 4 kB / 0.792 GB, free: 13.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008938/1.14, allocations: 4.14 MB / 0.796 GB, free: 9.316 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.14, allocations: 8 kB / 0.796 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/1.14, allocations: 4 kB / 0.796 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/1.156, allocations: 5.364 MB / 0.8013 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.157, allocations: 311.5 kB / 0.8016 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/1.166, allocations: 4.386 MB / 0.8058 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/1.171, allocations: 469.8 kB / 0.8063 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005657/1.172, allocations: 79.98 kB / 0.8064 GB, free: 14.67 MB / 0.4948 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.0008638/1.172, allocations: 212.7 kB / 0.8066 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/1.174, allocations: 343.7 kB / 0.8069 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03344/1.207, allocations: 11.12 MB / 0.8178 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/1.207, allocations: 24 kB / 0.8178 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.207, allocations: 7.969 kB / 0.8178 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.142e-05/1.207, allocations: 11.95 kB / 0.8178 GB, free: 2.879 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.04137/1.249, allocations: 15.26 MB / 0.8327 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.872e-05/1.249, allocations: 0 / 0.8327 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.251, allocations: 259.6 kB / 0.833 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.265, allocations: 4.414 MB / 0.8373 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007578/1.266, allocations: 48 kB / 0.8373 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0392/1.305, allocations: 16.44 MB / 0.8534 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.305, allocations: 0 / 0.8534 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04/1.345, allocations: 13.05 MB / 0.8661 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.347, allocations: 0.5002 MB / 0.8666 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.348, allocations: 52 kB / 0.8666 GB, free: 316 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/1.352, allocations: 339.7 kB / 0.867 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/1.354, allocations: 0.5138 MB / 0.8675 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.354, allocations: 67.98 kB / 0.8675 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003154/1.358, allocations: 1.813 MB / 0.8693 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.358, allocations: 0 / 0.8693 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003426/1.361, allocations: 0.9792 MB / 0.8703 GB, free: 12.61 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.03746/1.398, allocations: 13.75 MB / 0.8837 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.412, allocations: 4.586 MB / 0.8882 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.412, allocations: 0 / 0.8882 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/1.423, allocations: 3.664 MB / 0.8918 GB, free: 6.449 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/1.426, allocations: 266.5 kB / 0.892 GB, free: 6.188 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.442, allocations: 5.579 MB / 0.8975 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.318/1.76, allocations: 1.904 MB / 0.8993 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001355/1.761, allocations: 241.8 kB / 0.8995 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.763, allocations: 1.358 MB / 0.9009 GB, free: 162.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.001e-06/1.763, allocations: 0 / 0.9009 GB, free: 162.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.873, allocations: 78.72 MB / 0.9777 GB, free: 125.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/1.873, allocations: 162.2 kB / 0.9779 GB, free: 125.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.483/6.357, allocations: 7.984 kB / 0.9779 GB, free: 125.3 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)