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.001106/0.001106, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.444/1.444, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001288/0.001287, allocations: 180.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5845/0.5845, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004108, allocations: 12 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4508, allocations: 72.46 MB / 0.5756 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01519/0.466, allocations: 19.43 MB / 0.5946 GB, free: 22.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.4811, allocations: 6.414 MB / 0.6009 GB, free: 18.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.4867, allocations: 47.06 kB / 0.6009 GB, free: 18.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.4906, allocations: 0.7558 MB / 0.6017 GB, free: 17.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.5007, allocations: 2.1 MB / 0.6037 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005947/0.5066, allocations: 2.017 MB / 0.6057 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01276/0.5194, allocations: 6.482 MB / 0.612 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003709/0.5232, allocations: 1.19 MB / 0.6132 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.5294, allocations: 2.12 MB / 0.6152 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006957/0.5364, allocations: 2.822 MB / 0.618 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002987/0.5394, allocations: 250.2 kB / 0.6182 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.5437, allocations: 0.4989 MB / 0.6187 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003259/0.547, allocations: 1.015 MB / 0.6197 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008714/0.5557, allocations: 2.379 MB / 0.622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.5706, allocations: 7.587 MB / 0.6294 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5707, allocations: 1.031 kB / 0.6294 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5707, allocations: 0 / 0.6294 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003209/0.571, allocations: 0 / 0.6294 GB, free: 2.996 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.04254/0.6135, allocations: 9.038 MB / 0.6383 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.6136, allocations: 8.031 kB / 0.6383 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/0.6159, allocations: 395.6 kB / 0.6387 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/0.6297, allocations: 1.952 MB / 0.6406 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009985/0.6397, allocations: 3.359 MB / 0.6438 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/0.6412, allocations: 1.032 MB / 0.6449 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.6429, allocations: 327.8 kB / 0.6452 GB, free: 6.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.6532, allocations: 4.14 MB / 0.6492 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.6533, allocations: 3.984 kB / 0.6492 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/0.6537, allocations: 112 kB / 0.6493 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.6537, allocations: 75.94 kB / 0.6494 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009791/0.6635, allocations: 4.003 MB / 0.6533 GB, free: 13.68 MB / 462.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.03309/0.6966, allocations: 15.78 MB / 0.6687 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.7139, allocations: 7.198 MB / 0.6757 GB, free: 5.879 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006341/0.7202, allocations: 2.623 MB / 0.6783 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/0.7211, allocations: 0.766 MB / 0.679 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00691/0.7281, allocations: 3.041 MB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=331): time 5.169e-06/0.7281, allocations: 0 / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=331): time 0.1201/0.8482, allocations: 30.56 MB / 0.7119 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.8483, allocations: 196.9 kB / 0.712 GB, free: 324 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/0.8597, allocations: 4.537 MB / 0.7165 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001529/0.8612, allocations: 101.7 kB / 0.7166 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.8629, allocations: 1.751 MB / 0.7183 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002169/0.8651, allocations: 1.194 MB / 0.7194 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009265/0.866, allocations: 0.5499 MB / 0.72 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8661, allocations: 301.1 kB / 0.7203 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007337/0.8734, allocations: 3.201 MB / 0.7234 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007547/0.881, allocations: 3.736 MB / 0.727 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/0.8955, allocations: 6.481 MB / 0.7334 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.8956, allocations: 4 kB / 0.7334 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02625/0.9218, allocations: 9.987 MB / 0.7431 GB, free: 144 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.9219, allocations: 10.03 kB / 0.7431 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/0.922, allocations: 8 kB / 0.7431 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03062/0.9526, allocations: 11.14 MB / 0.754 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006025/0.9587, allocations: 0.987 MB / 0.755 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.9806, allocations: 6.998 MB / 0.7618 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/0.9904, allocations: 0.8386 MB / 0.7626 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/0.9921, allocations: 191.9 kB / 0.7628 GB, free: 11.93 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.004521/0.9966, allocations: 0.7665 MB / 0.7636 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002678/0.9993, allocations: 470 kB / 0.764 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.469/1.468, allocations: 13.97 MB / 0.7777 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/1.468, allocations: 33.03 kB / 0.7777 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.469, allocations: 0 / 0.7777 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001252/1.469, allocations: 18.86 kB / 0.7777 GB, free: 158.8 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.06032/1.529, allocations: 20.07 MB / 0.7973 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/1.529, allocations: 5.156 kB / 0.7973 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/1.533, allocations: 431.5 kB / 0.7977 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02015/1.553, allocations: 5.566 MB / 0.8032 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/1.554, allocations: 86.75 kB / 0.8033 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06014/1.614, allocations: 22.03 MB / 0.8248 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/1.614, allocations: 7.938 kB / 0.8248 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05305/1.667, allocations: 17.31 MB / 0.8417 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.67, allocations: 0.7103 MB / 0.8424 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003018/1.673, allocations: 71.98 kB / 0.8425 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007693/1.681, allocations: 499.5 kB / 0.8429 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003298/1.685, allocations: 0.608 MB / 0.8435 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009895/1.686, allocations: 83.98 kB / 0.8436 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007719/1.693, allocations: 2.996 MB / 0.8465 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.82e-07/1.693, allocations: 0 / 0.8465 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008376/1.702, allocations: 1.439 MB / 0.8479 GB, free: 121.9 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.04988/1.752, allocations: 17.75 MB / 0.8653 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02617/1.778, allocations: 8.611 MB / 0.8737 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.778, allocations: 64 / 0.8737 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01563/1.794, allocations: 4.992 MB / 0.8786 GB, free: 90.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008304/1.802, allocations: 405 kB / 0.8789 GB, free: 90.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1783/1.98, allocations: 66.72 MB / 0.9441 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/1.982, allocations: 2.337 MB / 0.9464 GB, free: 17.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002819/1.985, allocations: 453.1 kB / 0.9468 GB, free: 16.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003271/1.988, allocations: 1.979 MB / 0.9487 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.988, allocations: 4 kB / 0.9487 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5526/2.541, allocations: 112.7 MB / 1.059 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/2.541, allocations: 223.2 kB / 1.059 GB, free: 187.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.607/9.148, allocations: 0 / 1.059 GB, free: 187.9 MB / 0.6075 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)