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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006834/0.006833, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.267/1.267, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001345/0.001345, allocations: 196.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4834/0.4834, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 79.89 kB / 0.5722 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 71.28 MB / 0.6418 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01567/0.1218, allocations: 19.54 MB / 0.6609 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1334, allocations: 6.391 MB / 0.6672 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.1369, allocations: 43.94 kB / 0.6672 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.1403, allocations: 0.9732 MB / 0.6682 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007582/0.148, allocations: 2.573 MB / 0.6707 GB, free: 6.461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00476/0.1527, allocations: 2.182 MB / 0.6728 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008304/0.1611, allocations: 7.027 MB / 0.6797 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.1631, allocations: 1.318 MB / 0.681 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.1669, allocations: 2.677 MB / 0.6836 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.1712, allocations: 3.303 MB / 0.6868 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.173, allocations: 0.6719 MB / 0.6874 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.175, allocations: 0.9528 MB / 0.6884 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.1765, allocations: 1.467 MB / 0.6898 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.18, allocations: 2.841 MB / 0.6926 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008321/0.1884, allocations: 8.165 MB / 0.7006 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1884, allocations: 0 / 0.7006 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1884, allocations: 0 / 0.7006 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001861/0.1886, allocations: 4 kB / 0.7006 GB, free: 7.723 MB / 0.4981 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.03351/0.2221, allocations: 9.73 MB / 0.7101 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2222, allocations: 8.031 kB / 0.7101 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006699/0.2229, allocations: 395.5 kB / 0.7105 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.2341, allocations: 1.933 MB / 0.7123 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007113/0.2413, allocations: 3.371 MB / 0.7156 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.2423, allocations: 1.005 MB / 0.7166 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.2435, allocations: 323.9 kB / 0.7169 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008083/0.2516, allocations: 3.956 MB / 0.7208 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.2516, allocations: 0 / 0.7208 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.252, allocations: 116 kB / 0.7209 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.252, allocations: 67.94 kB / 0.721 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008184/0.2602, allocations: 3.796 MB / 0.7247 GB, free: 14.62 MB / 0.5294 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 preOpt removeSimpleEquations (simulation): time 0.02873/0.289, allocations: 15.5 MB / 0.7398 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/0.3046, allocations: 6.465 MB / 0.7461 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005489/0.3101, allocations: 2.432 MB / 0.7485 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009625/0.3111, allocations: 0.7621 MB / 0.7492 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006367/0.3175, allocations: 2.863 MB / 0.752 GB, free: 1.527 MB / 0.545 GB Notification: Performance of pre-optimization done (n=331): time 7.193e-06/0.3175, allocations: 4 kB / 0.752 GB, free: 1.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.3766/0.6941, allocations: 25.85 MB / 0.7773 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6943, allocations: 200.7 kB / 0.7775 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008012/0.7023, allocations: 4.53 MB / 0.7819 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009688/0.7033, allocations: 101.8 kB / 0.782 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.7046, allocations: 1.75 MB / 0.7837 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/0.7062, allocations: 1.205 MB / 0.7849 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002279/0.7085, allocations: 1.063 MB / 0.7859 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.7086, allocations: 301.1 kB / 0.7862 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005579/0.7141, allocations: 3.017 MB / 0.7891 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00631/0.7205, allocations: 3.543 MB / 0.7926 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/0.7321, allocations: 6.102 MB / 0.7986 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.7322, allocations: 3.781 kB / 0.7986 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01909/0.7513, allocations: 9.397 MB / 0.8077 GB, free: 92.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.7514, allocations: 8.781 kB / 0.8078 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.317e-05/0.7514, allocations: 8 kB / 0.8078 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02149/0.7729, allocations: 10.3 MB / 0.8178 GB, free: 82.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/0.7775, allocations: 0.987 MB / 0.8188 GB, free: 81.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.7914, allocations: 6.286 MB / 0.8249 GB, free: 75.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006372/0.7978, allocations: 0.7331 MB / 0.8256 GB, free: 74.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/0.7987, allocations: 188 kB / 0.8258 GB, free: 74.16 MB / 0.5606 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.001885/0.8006, allocations: 0.7757 MB / 0.8266 GB, free: 73.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.8017, allocations: 467.8 kB / 0.827 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03123/0.8329, allocations: 11.61 MB / 0.8384 GB, free: 61.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/0.833, allocations: 37.83 kB / 0.8384 GB, free: 61.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.833, allocations: 0 / 0.8384 GB, free: 61.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.369e-05/0.8331, allocations: 15.94 kB / 0.8384 GB, free: 61.19 MB / 0.5606 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.03892/0.872, allocations: 17.68 MB / 0.8557 GB, free: 43.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.8721, allocations: 4.031 kB / 0.8557 GB, free: 43.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/0.8748, allocations: 427.5 kB / 0.8561 GB, free: 42.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/0.8882, allocations: 4.757 MB / 0.8607 GB, free: 38.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008196/0.889, allocations: 79.97 kB / 0.8608 GB, free: 38.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04388/0.9329, allocations: 21.45 MB / 0.8818 GB, free: 16.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.933, allocations: 3.688 kB / 0.8818 GB, free: 16.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/0.9704, allocations: 14.78 MB / 0.8962 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.972, allocations: 0.6897 MB / 0.8969 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/0.9734, allocations: 71.98 kB / 0.8969 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004508/0.9779, allocations: 387.5 kB / 0.8973 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002397/0.9803, allocations: 0.6144 MB / 0.8979 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004803/0.9808, allocations: 99.91 kB / 0.898 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005322/0.9861, allocations: 2.988 MB / 0.9009 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9861, allocations: 0 / 0.9009 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005455/0.9916, allocations: 1.437 MB / 0.9023 GB, free: 11.36 MB / 0.5762 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.04101/1.033, allocations: 15.25 MB / 0.9172 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02104/1.054, allocations: 7.936 MB / 0.925 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.054, allocations: 0 / 0.925 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01216/1.066, allocations: 4.499 MB / 0.9294 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/1.07, allocations: 404.2 kB / 0.9297 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1153/1.185, allocations: 49.77 MB / 0.9783 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.187, allocations: 2.341 MB / 0.9806 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002435/1.19, allocations: 453.1 kB / 0.9811 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003173/1.193, allocations: 1.991 MB / 0.983 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/1.193, allocations: 4 kB / 0.983 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/1.626, allocations: 121.5 MB / 1.102 GB, free: 200.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.78/22.41, allocations: 11.67 kB / 1.102 GB, free: 200.4 MB / 0.7012 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/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)