Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.001237/0.001237, 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.434/1.434, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008936/0.0008937, allocations: 82.7 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08945/0.08945, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2739/0.2739, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.145e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 69.25 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5661, allocations: 111.1 MB / 0.6974 GB, free: 5.258 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5664, allocations: 87.02 kB / 0.6975 GB, free: 5.211 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.669, allocations: 39.88 MB / 0.7365 GB, free: 3.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6691, allocations: 0 / 0.7365 GB, free: 3.684 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.19e-05/0.6691, allocations: 32 kB / 0.7365 GB, free: 3.652 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005248/0.6744, allocations: 1.994 MB / 0.7384 GB, free: 1.746 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6745, allocations: 15.92 kB / 0.7385 GB, free: 1.73 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.6747, allocations: 146.6 kB / 0.7386 GB, free: 1.641 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.6775, allocations: 0.5546 MB / 0.7391 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6791, allocations: 0.942 MB / 0.7401 GB, free: 376 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/0.6795, allocations: 425.1 kB / 0.7405 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.6797, allocations: 96.92 kB / 0.7406 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6815, allocations: 1.166 MB / 0.7417 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6816, allocations: 3.938 kB / 0.7417 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6817, allocations: 39.69 kB / 0.7417 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.6817, allocations: 24 kB / 0.7418 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.6835, allocations: 1.088 MB / 0.7428 GB, free: 14.38 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.007711/0.6912, allocations: 4.647 MB / 0.7474 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/0.6987, allocations: 3.127 MB / 0.7504 GB, free: 7.926 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.7, allocations: 0.7219 MB / 0.7511 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.7002, allocations: 24.98 kB / 0.7511 GB, free: 7.504 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.7015, allocations: 0.8596 MB / 0.752 GB, free: 6.918 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 3.066e-06/0.7015, allocations: 0 / 0.752 GB, free: 6.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.015/0.7165, allocations: 4.97 MB / 0.7568 GB, free: 2.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.7166, allocations: 119.8 kB / 0.757 GB, free: 2.402 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.7186, allocations: 1.099 MB / 0.758 GB, free: 1.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003939/0.719, allocations: 45.7 kB / 0.7581 GB, free: 1.242 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004776/0.7195, allocations: 0.6084 MB / 0.7587 GB, free: 0.625 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000531/0.7201, allocations: 433.7 kB / 0.7591 GB, free: 200 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.7202, allocations: 24 kB / 0.7591 GB, free: 176 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7203, allocations: 353.9 kB / 0.7594 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.7214, allocations: 0.5689 MB / 0.76 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.7225, allocations: 0.7257 MB / 0.7607 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7236, allocations: 0.6219 MB / 0.7613 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7236, allocations: 0 / 0.7613 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00401/0.7276, allocations: 2.04 MB / 0.7633 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.7276, allocations: 8 kB / 0.7633 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.7276, allocations: 0 / 0.7633 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008209/0.7359, allocations: 2.559 MB / 0.7658 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/0.7368, allocations: 179.7 kB / 0.766 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/0.7412, allocations: 2.257 MB / 0.7682 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.7433, allocations: 246.8 kB / 0.7684 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.7434, allocations: 43.98 kB / 0.7685 GB, free: 6.492 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.7437, allocations: 164.8 kB / 0.7686 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.744, allocations: 158.1 kB / 0.7688 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.7588, allocations: 5.116 MB / 0.7738 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.7589, allocations: 16 kB / 0.7738 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.7589, allocations: 0 / 0.7738 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/0.759, allocations: 7.938 kB / 0.7738 GB, free: 1.004 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.0176/0.7766, allocations: 7.099 MB / 0.7807 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.7767, allocations: 0 / 0.7807 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009809/0.7777, allocations: 139.8 kB / 0.7809 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006522/0.7842, allocations: 2.009 MB / 0.7828 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/0.7846, allocations: 27.98 kB / 0.7828 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.8031, allocations: 7.857 MB / 0.7905 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8032, allocations: 0 / 0.7905 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/0.8198, allocations: 6.01 MB / 0.7964 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.8207, allocations: 274.8 kB / 0.7966 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.821, allocations: 24 kB / 0.7967 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.8226, allocations: 175.8 kB / 0.7968 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008855/0.8235, allocations: 261.3 kB / 0.7971 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.874e-05/0.8236, allocations: 32 kB / 0.7971 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001294/0.8249, allocations: 0.8649 MB / 0.798 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8249, allocations: 0 / 0.798 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001344/0.8263, allocations: 487.4 kB / 0.7984 GB, free: 7.414 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01663/0.8429, allocations: 6.787 MB / 0.8051 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006497/0.8494, allocations: 2.268 MB / 0.8073 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8495, allocations: 4.062 kB / 0.8073 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005434/0.8549, allocations: 1.869 MB / 0.8091 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.8562, allocations: 125 kB / 0.8092 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.862, allocations: 2.596 MB / 0.8118 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.8628, allocations: 1.231 MB / 0.813 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005437/0.8634, allocations: 124.1 kB / 0.8131 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/0.8642, allocations: 0.5735 MB / 0.8136 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/0.8642, allocations: 4 kB / 0.8136 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/0.9275, allocations: 36.49 MB / 0.8493 GB, free: 3.281 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.9278, allocations: 168.4 kB / 0.8494 GB, free: 3.059 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/3.987, allocations: 0 / 0.8494 GB, free: 3.059 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)