Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,fileNamePrefix="OpenIPSL_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.001171/0.001171, allocations: 176.2 kB / 7.649 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.364/1.364, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009472/0.0009472, allocations: 89.72 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4955/0.4955, allocations: 78.07 MB / 409.3 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.649e-05, allocations: 0 / 485 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 69.35 MB / 0.5414 GB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6582, allocations: 111.9 MB / 0.6507 GB, free: 3.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.6585, allocations: 67.97 kB / 0.6508 GB, free: 3.414 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6661/1.325, allocations: 127.1 MB / 0.7749 GB, free: 96.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/1.325, allocations: 0 / 0.7749 GB, free: 96.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004962/1.325, allocations: 86.3 kB / 0.775 GB, free: 96.84 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.01733/1.343, allocations: 5.164 MB / 0.78 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.343, allocations: 11.22 kB / 0.7801 GB, free: 95.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009124/1.352, allocations: 1.462 MB / 0.7815 GB, free: 95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007987/1.36, allocations: 2.995 MB / 0.7844 GB, free: 94.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009588/1.361, allocations: 0.9026 MB / 0.7853 GB, free: 93.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/1.362, allocations: 177.6 kB / 0.7855 GB, free: 93.51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008051/1.37, allocations: 3.043 MB / 0.7884 GB, free: 93.49 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007886/1.378, allocations: 3.036 MB / 0.7914 GB, free: 93.28 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/1.378, allocations: 3.266 kB / 0.7914 GB, free: 93.28 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003376/1.379, allocations: 2.094 kB / 0.7914 GB, free: 93.28 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.037e-05/1.379, allocations: 64.84 kB / 0.7915 GB, free: 93.28 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.03811/1.417, allocations: 14.86 MB / 0.806 GB, free: 89.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/1.431, allocations: 6.102 MB / 0.8119 GB, free: 88.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/1.436, allocations: 1.863 MB / 0.8138 GB, free: 88.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/1.437, allocations: 0.7682 MB / 0.8145 GB, free: 87.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00661/1.444, allocations: 2.277 MB / 0.8167 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=331): time 1.824e-05/1.444, allocations: 1.062 kB / 0.8167 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=331): time 0.04174/1.486, allocations: 11.6 MB / 0.8281 GB, free: 86.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/1.486, allocations: 195.4 kB / 0.8282 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009279/1.495, allocations: 3.305 MB / 0.8315 GB, free: 85.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/1.497, allocations: 29.64 kB / 0.8315 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/1.499, allocations: 1.898 MB / 0.8334 GB, free: 85.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002425/1.501, allocations: 1.117 MB / 0.8344 GB, free: 84.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/1.502, allocations: 0 / 0.8344 GB, free: 84.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002501/1.502, allocations: 444.1 kB / 0.8349 GB, free: 84.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/1.505, allocations: 1.675 MB / 0.8365 GB, free: 83.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/1.508, allocations: 2.022 MB / 0.8385 GB, free: 82.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003906/1.511, allocations: 1.883 MB / 0.8403 GB, free: 81.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/1.512, allocations: 1.875 kB / 0.8403 GB, free: 81.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01309/1.525, allocations: 5.553 MB / 0.8457 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.525, allocations: 7.469 kB / 0.8457 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-05/1.525, allocations: 13.5 kB / 0.8458 GB, free: 78.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/1.544, allocations: 6.336 MB / 0.8519 GB, free: 77.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/1.547, allocations: 0.5821 MB / 0.8525 GB, free: 77.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.559, allocations: 5.748 MB / 0.8581 GB, free: 74.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007028/1.566, allocations: 0.6098 MB / 0.8587 GB, free: 74.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.568, allocations: 132.2 kB / 0.8589 GB, free: 74.57 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.0009096/1.569, allocations: 150.9 kB / 0.859 GB, free: 74.46 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03483/1.603, allocations: 11.6 MB / 0.8703 GB, free: 71.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002955/1.607, allocations: 464.2 kB / 0.8708 GB, free: 71.59 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.033/1.64, allocations: 11.9 MB / 0.8824 GB, free: 66.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/1.64, allocations: 35.47 kB / 0.8824 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.64, allocations: 8 kB / 0.8824 GB, free: 66.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/1.64, allocations: 18.47 kB / 0.8824 GB, free: 66.45 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.04202/1.682, allocations: 17.54 MB / 0.8996 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.682, allocations: 0 / 0.8996 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.685, allocations: 441 kB / 0.9 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01268/1.698, allocations: 4.396 MB / 0.9043 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/1.699, allocations: 35.73 kB / 0.9043 GB, free: 48.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03255/1.731, allocations: 16.26 MB / 0.9202 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.731, allocations: 4 kB / 0.9202 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03826/1.77, allocations: 14.59 MB / 0.9345 GB, free: 22.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.772, allocations: 0.6884 MB / 0.9351 GB, free: 21.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002303/1.775, allocations: 13.91 kB / 0.9351 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006114/1.781, allocations: 446.4 kB / 0.9356 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002587/1.783, allocations: 0.6194 MB / 0.9362 GB, free: 20.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003446/1.784, allocations: 96.73 kB / 0.9363 GB, free: 20.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004201/1.788, allocations: 2.45 MB / 0.9387 GB, free: 18.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.788, allocations: 0 / 0.9387 GB, free: 18.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005508/1.793, allocations: 1.146 MB / 0.9398 GB, free: 17.29 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.03676/1.83, allocations: 15.53 MB / 0.9549 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02274/1.853, allocations: 6.417 MB / 0.9612 GB, free: 15.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.853, allocations: 0 / 0.9612 GB, free: 15.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/1.867, allocations: 4.19 MB / 0.9653 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/1.871, allocations: 319.1 kB / 0.9656 GB, free: 11.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/1.895, allocations: 7.983 MB / 0.9734 GB, free: 4.453 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.897, allocations: 2.427 MB / 0.9758 GB, free: 2.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002527/1.899, allocations: 392.5 kB / 0.9761 GB, free: 1.949 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3548/2.254, allocations: 1.948 MB / 0.9781 GB, free: 0 / 0.573 GB Notification: Performance of SimCode: time 2.936e-06/2.254, allocations: 112 / 0.9781 GB, free: 101.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/2.441, allocations: 97.62 MB / 1.073 GB, free: 92.09 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/2.441, allocations: 124.1 kB / 1.074 GB, free: 91.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.158/8.6, allocations: 3.938 kB / 1.074 GB, free: 91.9 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_AVR.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)