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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239 MB, free: 4.719 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 196.5 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4511/0.4511, allocations: 78.53 MB / 417.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 75.88 kB / 497 MB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1259, allocations: 68.18 MB / 0.552 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2437/0.3697, allocations: 20.2 MB / 0.5717 GB, free: 27.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.3831, allocations: 6.463 MB / 0.578 GB, free: 25.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.388, allocations: 44.44 kB / 0.5781 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.391, allocations: 0.7674 MB / 0.5788 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006891/0.3979, allocations: 2.355 MB / 0.5811 GB, free: 24.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.4017, allocations: 2.023 MB / 0.5831 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006823/0.4085, allocations: 7.305 MB / 0.5902 GB, free: 19.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.4104, allocations: 1.315 MB / 0.5915 GB, free: 18.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.414, allocations: 2.732 MB / 0.5942 GB, free: 17.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.418, allocations: 3.323 MB / 0.5974 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.4198, allocations: 0.6762 MB / 0.5981 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.4221, allocations: 0.952 MB / 0.599 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.4232, allocations: 1.48 MB / 0.6004 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.4266, allocations: 2.865 MB / 0.6032 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009098/0.4358, allocations: 8.11 MB / 0.6112 GB, free: 9.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4358, allocations: 0 / 0.6112 GB, free: 9.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4358, allocations: 1.375 kB / 0.6112 GB, free: 9.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002199/0.436, allocations: 0 / 0.6112 GB, free: 9.309 MB / 430.1 MB 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.04112/0.4771, allocations: 10.54 MB / 0.6215 GB, free: 5.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4772, allocations: 9.469 kB / 0.6215 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005063/0.4777, allocations: 391.9 kB / 0.6218 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.4891, allocations: 1.933 MB / 0.6237 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006897/0.496, allocations: 3.352 MB / 0.627 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008746/0.4969, allocations: 1.013 MB / 0.628 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008914/0.4978, allocations: 330.6 kB / 0.6283 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008443/0.5063, allocations: 3.947 MB / 0.6322 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/0.5064, allocations: 0 / 0.6322 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.5067, allocations: 112 kB / 0.6323 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/0.5068, allocations: 67.94 kB / 0.6323 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007931/0.5147, allocations: 3.802 MB / 0.636 GB, free: 9.191 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02879/0.5435, allocations: 15.59 MB / 0.6513 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.5584, allocations: 6.456 MB / 0.6576 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005226/0.5637, allocations: 2.436 MB / 0.66 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/0.5644, allocations: 0.766 MB / 0.6607 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005711/0.5702, allocations: 2.867 MB / 0.6635 GB, free: 12.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 4.458e-06/0.5702, allocations: 0 / 0.6635 GB, free: 12.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1048/0.6749, allocations: 25.85 MB / 0.6887 GB, free: 2.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.6751, allocations: 196.8 kB / 0.6889 GB, free: 1.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/0.6832, allocations: 4.534 MB / 0.6934 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/0.6846, allocations: 99.58 kB / 0.6935 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.686, allocations: 1.747 MB / 0.6952 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.688, allocations: 1.206 MB / 0.6963 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002123/0.6902, allocations: 1.063 MB / 0.6974 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.6903, allocations: 305.1 kB / 0.6977 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006015/0.6963, allocations: 3.025 MB / 0.7006 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006622/0.7029, allocations: 3.542 MB / 0.7041 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.7161, allocations: 6.106 MB / 0.71 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.7162, allocations: 4 kB / 0.71 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02698/0.7431, allocations: 9.389 MB / 0.7192 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.7432, allocations: 8 kB / 0.7192 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-05/0.7433, allocations: 8.547 kB / 0.7192 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02529/0.7686, allocations: 10.3 MB / 0.7293 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/0.7742, allocations: 0.9792 MB / 0.7302 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.7925, allocations: 6.295 MB / 0.7364 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/0.8009, allocations: 0.737 MB / 0.7371 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/0.8021, allocations: 192.9 kB / 0.7373 GB, free: 15.97 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.002924/0.8051, allocations: 0.7586 MB / 0.738 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/0.807, allocations: 470.1 kB / 0.7385 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03814/0.8451, allocations: 11.62 MB / 0.7498 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/0.8452, allocations: 37.12 kB / 0.7499 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.8452, allocations: 4 kB / 0.7499 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.625e-05/0.8453, allocations: 15.94 kB / 0.7499 GB, free: 3.004 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04927/0.8946, allocations: 17.7 MB / 0.7672 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/0.8947, allocations: 3.938 kB / 0.7672 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/0.8978, allocations: 431.4 kB / 0.7676 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2706/1.168, allocations: 4.766 MB / 0.7722 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009868/1.169, allocations: 74.67 kB / 0.7723 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04837/1.218, allocations: 21.48 MB / 0.7933 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.218, allocations: 1.125 kB / 0.7933 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04488/1.263, allocations: 14.76 MB / 0.8077 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002101/1.265, allocations: 0.6953 MB / 0.8084 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.266, allocations: 69.95 kB / 0.8084 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004684/1.271, allocations: 387.6 kB / 0.8088 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002345/1.273, allocations: 0.6194 MB / 0.8094 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/1.274, allocations: 94.11 kB / 0.8095 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004874/1.279, allocations: 2.985 MB / 0.8124 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.279, allocations: 1.594 kB / 0.8124 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00503/1.284, allocations: 1.441 MB / 0.8138 GB, free: 154 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03831/1.322, allocations: 15.24 MB / 0.8287 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02529/1.347, allocations: 8.16 MB / 0.8367 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.347, allocations: 0 / 0.8367 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/1.36, allocations: 4.495 MB / 0.8411 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/1.365, allocations: 413.2 kB / 0.8415 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1327/1.498, allocations: 64.64 MB / 0.9046 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.499, allocations: 2.346 MB / 0.9069 GB, free: 64.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002432/1.502, allocations: 457.3 kB / 0.9073 GB, free: 64.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002492/1.504, allocations: 1.991 MB / 0.9093 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.763e-06/1.504, allocations: 0 / 0.9093 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.418/1.922, allocations: 118.8 MB / 1.025 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.923, allocations: 222 kB / 1.026 GB, free: 174 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.933/6.855, allocations: 3.469 kB / 1.026 GB, free: 174 MB / 0.5762 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/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)