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.0008938/0.000894, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.305/1.305, allocations: 223.3 MB / 239 MB, free: 5.438 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.001016/0.001016, allocations: 184.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4592/0.4592, allocations: 79.48 MB / 420.8 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 19.94 kB / 0.4892 GB, free: 5.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3836, allocations: 69.5 MB / 0.5571 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01366/0.3973, allocations: 17.99 MB / 0.5747 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4085, allocations: 6.205 MB / 0.5807 GB, free: 25.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.4121, allocations: 46.28 kB / 0.5808 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.4142, allocations: 0.6735 MB / 0.5814 GB, free: 25.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.42, allocations: 1.854 MB / 0.5832 GB, free: 24.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.4235, allocations: 1.56 MB / 0.5847 GB, free: 23.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006945/0.4305, allocations: 6.113 MB / 0.5907 GB, free: 20.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.4322, allocations: 1.053 MB / 0.5917 GB, free: 20.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.4352, allocations: 2.091 MB / 0.5938 GB, free: 19.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.4385, allocations: 2.74 MB / 0.5965 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000762/0.4393, allocations: 250.5 kB / 0.5967 GB, free: 18.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.4406, allocations: 0.4909 MB / 0.5972 GB, free: 18.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.4414, allocations: 0.9765 MB / 0.5981 GB, free: 17.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.4424, allocations: 0.8388 MB / 0.599 GB, free: 16.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006452/0.4488, allocations: 6.378 MB / 0.6052 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.4489, allocations: 0 / 0.6052 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4489, allocations: 3.938 kB / 0.6052 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002575/0.4491, allocations: 4 kB / 0.6052 GB, free: 15.43 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.03387/0.483, allocations: 9.093 MB / 0.6141 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4831, allocations: 11.09 kB / 0.6141 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002018/0.4851, allocations: 389.8 kB / 0.6145 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.4974, allocations: 1.943 MB / 0.6164 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008502/0.5059, allocations: 3.2 MB / 0.6195 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/0.507, allocations: 1.031 MB / 0.6205 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.5081, allocations: 330.9 kB / 0.6208 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/0.5164, allocations: 4.122 MB / 0.6248 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.034e-05/0.5165, allocations: 5.406 kB / 0.6248 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003253/0.5168, allocations: 111.2 kB / 0.6249 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-05/0.5169, allocations: 66.44 kB / 0.625 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00875/0.5256, allocations: 3.989 MB / 0.6289 GB, free: 3.258 MB / 430.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.03169/0.5574, allocations: 15.77 MB / 0.6443 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/0.574, allocations: 7.178 MB / 0.6513 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007203/0.5813, allocations: 2.615 MB / 0.6539 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.5829, allocations: 0.766 MB / 0.6546 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008858/0.5918, allocations: 3.034 MB / 0.6576 GB, free: 4.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=331): time 1.139e-05/0.5918, allocations: 4 kB / 0.6576 GB, free: 4.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1086/0.7004, allocations: 30.26 MB / 0.6871 GB, free: 6.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.7006, allocations: 196.7 kB / 0.6873 GB, free: 6.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/0.7124, allocations: 4.494 MB / 0.6917 GB, free: 1.801 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001733/0.7142, allocations: 105.7 kB / 0.6918 GB, free: 1.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002855/0.717, allocations: 1.747 MB / 0.6935 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003377/0.7205, allocations: 1.198 MB / 0.6947 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/0.7224, allocations: 112 kB / 0.6948 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0005715/0.7229, allocations: 0.5259 MB / 0.6953 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008496/0.7315, allocations: 3.182 MB / 0.6984 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009252/0.7408, allocations: 3.705 MB / 0.702 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009059/0.7499, allocations: 3.415 MB / 0.7054 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/0.7499, allocations: 3.984 kB / 0.7054 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02908/0.779, allocations: 9.952 MB / 0.7151 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.7791, allocations: 8 kB / 0.7151 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-05/0.7792, allocations: 8 kB / 0.7151 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02771/0.8069, allocations: 11.11 MB / 0.7259 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/0.813, allocations: 0.987 MB / 0.7269 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.8342, allocations: 6.971 MB / 0.7337 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009539/0.8438, allocations: 0.8347 MB / 0.7345 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/0.8457, allocations: 193 kB / 0.7347 GB, free: 5.469 MB / 0.5294 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 ($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 () * 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 (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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.004697/0.8504, allocations: 0.7742 MB / 0.7355 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002833/0.8532, allocations: 471 kB / 0.7359 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04137/0.8946, allocations: 13.95 MB / 0.7495 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.784e-05/0.8947, allocations: 36 kB / 0.7496 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.8948, allocations: 3.938 kB / 0.7496 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000121/0.8949, allocations: 20.62 kB / 0.7496 GB, free: 6.156 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.0555/0.9504, allocations: 20.04 MB / 0.7692 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/0.9505, allocations: 1.406 kB / 0.7692 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/0.9536, allocations: 431.5 kB / 0.7696 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2663/1.22, allocations: 5.571 MB / 0.775 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.221, allocations: 83.31 kB / 0.7751 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04621/1.267, allocations: 22 MB / 0.7966 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.267, allocations: 1.688 kB / 0.7966 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0455/1.313, allocations: 17.29 MB / 0.8135 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.315, allocations: 0.7081 MB / 0.8142 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/1.317, allocations: 70.14 kB / 0.8142 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004541/1.321, allocations: 495.6 kB / 0.8147 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002088/1.323, allocations: 0.6282 MB / 0.8153 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.323, allocations: 94.33 kB / 0.8154 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004586/1.328, allocations: 2.951 MB / 0.8183 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.328, allocations: 0 / 0.8183 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005381/1.333, allocations: 1.44 MB / 0.8197 GB, free: 152.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 (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.04068/1.374, allocations: 17.72 MB / 0.837 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02168/1.396, allocations: 8.584 MB / 0.8454 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.396, allocations: 1.375 kB / 0.8454 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0132/1.409, allocations: 4.976 MB / 0.8502 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007605/1.417, allocations: 396.9 kB / 0.8506 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/1.522, allocations: 46.05 MB / 0.8956 GB, free: 79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/1.525, allocations: 2.337 MB / 0.8979 GB, free: 76.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002962/1.528, allocations: 450 kB / 0.8983 GB, free: 76.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003044/1.531, allocations: 1.979 MB / 0.9002 GB, free: 74.21 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.531, allocations: 0 / 0.9002 GB, free: 74.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/1.96, allocations: 113.6 MB / 1.011 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/1.96, allocations: 214.2 kB / 1.011 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.374/8.334, allocations: 3.938 kB / 1.011 GB, free: 173.1 MB / 0.5762 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/linux/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) Environment - environmentSimulation: