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.001613/0.001613, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.001667/0.001667, allocations: 196.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4565/0.4565, allocations: 78.54 MB / 418.2 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 75.89 kB / 497.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1289, allocations: 68.18 MB / 0.5525 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.2384/0.3673, allocations: 19.49 MB / 0.5715 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3791, allocations: 6.403 MB / 0.5778 GB, free: 25.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/0.3833, allocations: 42.06 kB / 0.5778 GB, free: 25.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.3864, allocations: 0.9736 MB / 0.5787 GB, free: 25.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.3949, allocations: 2.675 MB / 0.5814 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.3996, allocations: 2.178 MB / 0.5835 GB, free: 23.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009258/0.4088, allocations: 7.3 MB / 0.5906 GB, free: 19.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/0.4118, allocations: 1.324 MB / 0.5919 GB, free: 18.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004656/0.4165, allocations: 2.708 MB / 0.5946 GB, free: 17.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.4214, allocations: 3.329 MB / 0.5978 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.4234, allocations: 0.6717 MB / 0.5985 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.4259, allocations: 0.9447 MB / 0.5994 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.4269, allocations: 1.489 MB / 0.6008 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003879/0.4308, allocations: 2.855 MB / 0.6036 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4413, allocations: 8.104 MB / 0.6115 GB, free: 9.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4413, allocations: 6.656 kB / 0.6115 GB, free: 9.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4413, allocations: 4 kB / 0.6115 GB, free: 9.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002862/0.4416, allocations: 0 / 0.6115 GB, free: 9.273 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.04284/0.4845, allocations: 10.54 MB / 0.6218 GB, free: 4.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4845, allocations: 12.91 kB / 0.6219 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005947/0.4851, allocations: 388.4 kB / 0.6222 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.4968, allocations: 1.933 MB / 0.6241 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007511/0.5043, allocations: 3.349 MB / 0.6274 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/0.5054, allocations: 1.01 MB / 0.6284 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.5067, allocations: 327.1 kB / 0.6287 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.5176, allocations: 3.949 MB / 0.6325 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.5177, allocations: 11.94 kB / 0.6325 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007534/0.5185, allocations: 111.9 kB / 0.6327 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/0.5185, allocations: 71.94 kB / 0.6327 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009727/0.5283, allocations: 3.804 MB / 0.6364 GB, free: 9.055 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.03394/0.5622, allocations: 15.57 MB / 0.6516 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/0.5784, allocations: 6.474 MB / 0.658 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005919/0.5844, allocations: 2.432 MB / 0.6603 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000999/0.5854, allocations: 0.762 MB / 0.6611 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007073/0.5925, allocations: 2.866 MB / 0.6639 GB, free: 11.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=331): time 7.564e-06/0.5926, allocations: 0 / 0.6639 GB, free: 11.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=331): time 0.1114/0.704, allocations: 25.85 MB / 0.6891 GB, free: 1.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.7042, allocations: 188.9 kB / 0.6893 GB, free: 1.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01076/0.7149, allocations: 4.534 MB / 0.6937 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/0.7163, allocations: 113.6 kB / 0.6938 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.7183, allocations: 1.747 MB / 0.6955 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002275/0.7206, allocations: 1.202 MB / 0.6967 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005184/0.7258, allocations: 1.059 MB / 0.6978 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.7259, allocations: 305.1 kB / 0.698 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007804/0.7337, allocations: 3.018 MB / 0.701 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008473/0.7422, allocations: 3.537 MB / 0.7044 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/0.7568, allocations: 6.11 MB / 0.7104 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/0.7568, allocations: 0 / 0.7104 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02609/0.7829, allocations: 9.393 MB / 0.7196 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.783, allocations: 8 kB / 0.7196 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.836e-05/0.7831, allocations: 17.17 kB / 0.7196 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02631/0.8094, allocations: 10.29 MB / 0.7297 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/0.8148, allocations: 0.9869 MB / 0.7306 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.8371, allocations: 6.292 MB / 0.7368 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/0.8477, allocations: 0.7253 MB / 0.7375 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/0.8494, allocations: 201.5 kB / 0.7377 GB, free: 15.86 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.003589/0.853, allocations: 0.7757 MB / 0.7384 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002273/0.8553, allocations: 462.1 kB / 0.7389 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05092/0.9062, allocations: 11.62 MB / 0.7502 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.9063, allocations: 32 kB / 0.7502 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.9063, allocations: 0 / 0.7502 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/0.9064, allocations: 19.94 kB / 0.7503 GB, free: 2.879 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.05522/0.9617, allocations: 17.69 MB / 0.7675 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.9617, allocations: 3.938 kB / 0.7675 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00306/0.9648, allocations: 443.5 kB / 0.768 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2273/1.192, allocations: 4.756 MB / 0.7726 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.193, allocations: 81.28 kB / 0.7727 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05014/1.243, allocations: 21.47 MB / 0.7937 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.243, allocations: 1.188 kB / 0.7937 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04795/1.291, allocations: 14.76 MB / 0.8081 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.294, allocations: 0.6944 MB / 0.8088 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.295, allocations: 69.47 kB / 0.8088 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004469/1.3, allocations: 390.9 kB / 0.8092 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002104/1.302, allocations: 0.6183 MB / 0.8098 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.302, allocations: 88.56 kB / 0.8099 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004603/1.307, allocations: 2.991 MB / 0.8128 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.307, allocations: 0 / 0.8128 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004432/1.311, allocations: 1.443 MB / 0.8142 GB, free: 153.5 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.04133/1.352, allocations: 15.24 MB / 0.8291 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02812/1.38, allocations: 8.155 MB / 0.8371 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.381, allocations: 6.078 kB / 0.8371 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01414/1.395, allocations: 4.499 MB / 0.8415 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00824/1.403, allocations: 409.9 kB / 0.8419 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/1.535, allocations: 63.24 MB / 0.9036 GB, free: 68.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/1.538, allocations: 2.348 MB / 0.9059 GB, free: 65.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003414/1.542, allocations: 453.3 kB / 0.9063 GB, free: 65.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003799/1.545, allocations: 1.991 MB / 0.9083 GB, free: 63.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.864e-06/1.545, allocations: 0 / 0.9083 GB, free: 63.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4152/1.961, allocations: 122.1 MB / 1.027 GB, free: 174 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.8, allocations: 1.797 kB / 1.027 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)