Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",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.006711/0.006711, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.419/1.419, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001798/0.001798, allocations: 184.5 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.543/0.543, allocations: 91.9 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 80.59 kB / 0.5724 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1535, allocations: 71.28 MB / 0.642 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02105/0.1745, allocations: 21.93 MB / 0.6634 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.187, allocations: 4.888 MB / 0.6682 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005168/0.1922, allocations: 44 kB / 0.6682 GB, free: 9.004 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.196, allocations: 0.8789 MB / 0.6691 GB, free: 8.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008692/0.2047, allocations: 2.045 MB / 0.6711 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006138/0.2109, allocations: 2.063 MB / 0.6731 GB, free: 4.027 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009687/0.2206, allocations: 5.764 MB / 0.6787 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.2236, allocations: 1.324 MB / 0.68 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.2279, allocations: 2.353 MB / 0.6823 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.2326, allocations: 2.967 MB / 0.6852 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001897/0.2345, allocations: 444 kB / 0.6856 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.237, allocations: 0.582 MB / 0.6862 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.2391, allocations: 1.163 MB / 0.6873 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004491/0.2436, allocations: 2.625 MB / 0.6899 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009183/0.2528, allocations: 6.271 MB / 0.696 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2529, allocations: 4 kB / 0.696 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2529, allocations: 0 / 0.696 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002807/0.2532, allocations: 0 / 0.696 GB, free: 12.4 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03361/0.2868, allocations: 9.217 MB / 0.705 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.2868, allocations: 11.97 kB / 0.705 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.2885, allocations: 488.9 kB / 0.7055 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02712/0.3157, allocations: 4.009 MB / 0.7094 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007732/0.3235, allocations: 2.678 MB / 0.712 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001262/0.3248, allocations: 0.9612 MB / 0.713 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/0.3268, allocations: 348 kB / 0.7133 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.3409, allocations: 4.739 MB / 0.7179 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.486e-05/0.341, allocations: 0 / 0.7179 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009892/0.342, allocations: 144 kB / 0.7181 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.052e-05/0.3421, allocations: 84 kB / 0.7181 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.3532, allocations: 4.255 MB / 0.7223 GB, free: 1.121 MB / 0.5137 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.03931/0.3925, allocations: 18.26 MB / 0.7401 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.4054, allocations: 5.013 MB / 0.745 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005888/0.4113, allocations: 2.787 MB / 0.7477 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.412, allocations: 74.92 kB / 0.7478 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007044/0.4191, allocations: 3.189 MB / 0.7509 GB, free: 2.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=384): time 8.646e-06/0.4191, allocations: 0 / 0.7509 GB, free: 2.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=384): time 0.6103/1.029, allocations: 67.76 MB / 0.8171 GB, free: 83.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/1.03, allocations: 141.8 kB / 0.8172 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/1.034, allocations: 3.258 MB / 0.8204 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/1.035, allocations: 92.62 kB / 0.8205 GB, free: 80.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.036, allocations: 1.976 MB / 0.8224 GB, free: 79.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.038, allocations: 1.321 MB / 0.8237 GB, free: 77.99 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/1.039, allocations: 0.6783 MB / 0.8244 GB, free: 77.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/1.039, allocations: 301.1 kB / 0.8247 GB, free: 77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/1.044, allocations: 2.601 MB / 0.8272 GB, free: 74.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/1.049, allocations: 3.237 MB / 0.8304 GB, free: 70.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06295/1.112, allocations: 19 MB / 0.8489 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-05/1.112, allocations: 4 kB / 0.8489 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05432/1.166, allocations: 17.29 MB / 0.8658 GB, free: 34.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.784e-05/1.166, allocations: 63.41 kB / 0.8659 GB, free: 34.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-05/1.166, allocations: 16 kB / 0.8659 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/1.19, allocations: 7.153 MB / 0.8729 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/1.194, allocations: 0.6904 MB / 0.8735 GB, free: 26.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08327/1.277, allocations: 33.3 MB / 0.9061 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006422/1.283, allocations: 0.625 MB / 0.9067 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.285, allocations: 152 kB / 0.9068 GB, free: 8.148 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003337/1.288, allocations: 0.6789 MB / 0.9075 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/1.29, allocations: 458.3 kB / 0.9079 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05542/1.345, allocations: 16.87 MB / 0.9244 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/1.346, allocations: 36 kB / 0.9244 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001619/1.346, allocations: 39.88 kB / 0.9245 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/1.346, allocations: 18.84 kB / 0.9245 GB, free: 5.98 MB / 0.5919 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.07101/1.417, allocations: 21.87 MB / 0.9458 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/1.417, allocations: 5.453 kB / 0.9458 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/1.42, allocations: 395.5 kB / 0.9462 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02717/1.447, allocations: 7.369 MB / 0.9534 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/1.448, allocations: 76.58 kB / 0.9535 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08628/1.534, allocations: 31.78 MB / 0.9845 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.534, allocations: 0 / 0.9845 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06674/1.601, allocations: 20.25 MB / 1.004 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.603, allocations: 0.5532 MB / 1.005 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/1.605, allocations: 71.94 kB / 1.005 GB, free: 3.117 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005709/1.611, allocations: 379.7 kB / 1.005 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004152/1.615, allocations: 0.7896 MB / 1.006 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009371/1.616, allocations: 96.67 kB / 1.006 GB, free: 1.863 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004853/1.621, allocations: 2.135 MB / 1.008 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.71e-07/1.621, allocations: 0 / 1.008 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.007973/1.629, allocations: 1.808 MB / 1.01 GB, free: 13.92 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06711/1.696, allocations: 20.91 MB / 1.03 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.3503/2.046, allocations: 9.181 MB / 1.039 GB, free: 241.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/2.046, allocations: 4.969 kB / 1.039 GB, free: 241.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.02021/2.067, allocations: 6.193 MB / 1.045 GB, free: 241 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/2.07, allocations: 392 kB / 1.046 GB, free: 241 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1481/2.218, allocations: 59.04 MB / 1.103 GB, free: 207 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/2.22, allocations: 2.457 MB / 1.106 GB, free: 204.5 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001662/2.222, allocations: 379.1 kB / 1.106 GB, free: 204.2 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/2.224, allocations: 2.03 MB / 1.108 GB, free: 202.1 MB / 0.7012 GB Notification: Performance of SimCode: time 9.02e-07/2.224, allocations: 0 / 1.108 GB, free: 202.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/2.415, allocations: 131.8 MB / 1.237 GB, free: 70.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.83/25.24, allocations: 1.719 kB / 1.237 GB, free: 70.57 MB / 0.7012 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)