Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",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.001029/0.001029, allocations: 172.9 kB / 7.646 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.323/1.323, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008265/0.0008265, allocations: 101.9 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4883/0.4883, allocations: 78.95 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.725e-05, allocations: 4 kB / 486 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 69.52 MB / 0.5425 GB, free: 5.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5511, allocations: 112.6 MB / 0.6525 GB, free: 1.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.5513, allocations: 72.48 kB / 0.6525 GB, free: 1.297 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5918/1.143, allocations: 122.1 MB / 0.7718 GB, free: 94.92 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.003e-06/1.143, allocations: 0 / 0.7718 GB, free: 94.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0006167/1.144, allocations: 87.48 kB / 0.7719 GB, free: 94.92 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.01649/1.16, allocations: 5.154 MB / 0.7769 GB, free: 93.38 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.16, allocations: 18.73 kB / 0.777 GB, free: 93.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/1.172, allocations: 1.941 MB / 0.7788 GB, free: 93.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/1.179, allocations: 3.161 MB / 0.7819 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007762/1.179, allocations: 0.9058 MB / 0.7828 GB, free: 91.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000656/1.18, allocations: 176.4 kB / 0.783 GB, free: 91.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005143/1.185, allocations: 3.045 MB / 0.786 GB, free: 91.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005864/1.191, allocations: 3.038 MB / 0.7889 GB, free: 91.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/1.191, allocations: 1.125 kB / 0.7889 GB, free: 91.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/1.191, allocations: 5.594 kB / 0.7889 GB, free: 91.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/1.192, allocations: 67.28 kB / 0.789 GB, free: 91.37 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 preOpt removeSimpleEquations (simulation): time 0.02953/1.221, allocations: 15.17 MB / 0.8038 GB, free: 87.58 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/1.233, allocations: 6.097 MB / 0.8098 GB, free: 86.32 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/1.236, allocations: 1.862 MB / 0.8116 GB, free: 86.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/1.237, allocations: 0.7723 MB / 0.8123 GB, free: 85.42 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003742/1.241, allocations: 2.276 MB / 0.8146 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 5.881e-06/1.241, allocations: 0 / 0.8146 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.03295/1.274, allocations: 11.61 MB / 0.8259 GB, free: 84.46 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.274, allocations: 198 kB / 0.8261 GB, free: 84.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005497/1.279, allocations: 3.502 MB / 0.8295 GB, free: 83.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009779/1.28, allocations: 28.89 kB / 0.8295 GB, free: 83.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.281, allocations: 1.901 MB / 0.8314 GB, free: 83.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.283, allocations: 1.116 MB / 0.8325 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/1.283, allocations: 0 / 0.8325 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.283, allocations: 444.6 kB / 0.8329 GB, free: 82.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.286, allocations: 1.672 MB / 0.8345 GB, free: 81.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.288, allocations: 2.023 MB / 0.8365 GB, free: 80.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/1.292, allocations: 1.892 MB / 0.8384 GB, free: 79.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.292, allocations: 3.719 kB / 0.8384 GB, free: 79.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.009679/1.301, allocations: 5.56 MB / 0.8438 GB, free: 77.42 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.301, allocations: 8.844 kB / 0.8438 GB, free: 77.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.301, allocations: 12.34 kB / 0.8438 GB, free: 77.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01768/1.319, allocations: 6.34 MB / 0.85 GB, free: 76.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.322, allocations: 0.5668 MB / 0.8506 GB, free: 76.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.333, allocations: 5.759 MB / 0.8562 GB, free: 73.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/1.339, allocations: 0.6192 MB / 0.8568 GB, free: 73.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007723/1.34, allocations: 125.4 kB / 0.8569 GB, free: 73.11 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: g3.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real g1.sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {82 70} Notification: Performance of prepare postOptimizeDAE: time 0.0007101/1.341, allocations: 159.1 kB / 0.8571 GB, free: 73 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03139/1.372, allocations: 11.6 MB / 0.8684 GB, free: 70.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002839/1.375, allocations: 460.2 kB / 0.8688 GB, free: 70.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0316/1.407, allocations: 11.91 MB / 0.8805 GB, free: 66.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.407, allocations: 32 kB / 0.8805 GB, free: 66.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.407, allocations: 3 kB / 0.8805 GB, free: 66.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/1.407, allocations: 18.67 kB / 0.8805 GB, free: 66.12 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.04012/1.447, allocations: 17.71 MB / 0.8978 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/1.447, allocations: 0 / 0.8978 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/1.45, allocations: 445 kB / 0.8982 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/1.462, allocations: 4.397 MB / 0.9025 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000934/1.463, allocations: 39.31 kB / 0.9026 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03052/1.494, allocations: 16.26 MB / 0.9184 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.494, allocations: 0 / 0.9184 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03514/1.529, allocations: 14.6 MB / 0.9327 GB, free: 21.74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002054/1.531, allocations: 0.7226 MB / 0.9334 GB, free: 21.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/1.533, allocations: 23.08 kB / 0.9334 GB, free: 21.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004689/1.537, allocations: 445.5 kB / 0.9339 GB, free: 20.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/1.539, allocations: 0.6198 MB / 0.9345 GB, free: 20.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/1.539, allocations: 93.31 kB / 0.9346 GB, free: 20.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003505/1.543, allocations: 2.598 MB / 0.9371 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.3e-07/1.543, allocations: 4 kB / 0.9371 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003444/1.546, allocations: 1.158 MB / 0.9382 GB, free: 16.71 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * 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.03499/1.581, allocations: 15.53 MB / 0.9534 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01705/1.599, allocations: 5.994 MB / 0.9592 GB, free: 14.15 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/1.599, allocations: 0 / 0.9592 GB, free: 14.15 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01196/1.611, allocations: 4.193 MB / 0.9633 GB, free: 10.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.614, allocations: 310.8 kB / 0.9636 GB, free: 10.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02015/1.634, allocations: 7.984 MB / 0.9714 GB, free: 3.047 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/1.636, allocations: 2.422 MB / 0.9738 GB, free: 1.238 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002562/1.639, allocations: 387.7 kB / 0.9742 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006031/1.645, allocations: 2.159 MB / 0.9763 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/1.645, allocations: 0 / 0.9763 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4388/2.084, allocations: 99.03 MB / 1.073 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/2.084, allocations: 133.4 kB / 1.073 GB, free: 111 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.061/8.145, allocations: 0.9375 kB / 1.073 GB, free: 111 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)