Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.005624/0.005624, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.311/1.311, allocations: 222.9 MB / 239.4 MB, free: 4.582 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.001314/0.001313, allocations: 184.5 kB / 289.7 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4912/0.4912, allocations: 91.9 MB / 431.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 87.72 kB / 0.5722 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 71.28 MB / 0.6418 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.0132/0.1303, allocations: 14.99 MB / 0.6565 GB, free: 5.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008837/0.1392, allocations: 4.604 MB / 0.661 GB, free: 484 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.1417, allocations: 28 kB / 0.661 GB, free: 456 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.1441, allocations: 0.778 MB / 0.6618 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.1501, allocations: 2.029 MB / 0.6637 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.1535, allocations: 1.415 MB / 0.6651 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005871/0.1594, allocations: 4.54 MB / 0.6696 GB, free: 7.676 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.1609, allocations: 0.7918 MB / 0.6703 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.1637, allocations: 1.805 MB / 0.6721 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.1668, allocations: 2.381 MB / 0.6744 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.168, allocations: 400 kB / 0.6748 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.1699, allocations: 0.6326 MB / 0.6754 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.1711, allocations: 0.9456 MB / 0.6763 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002918/0.1741, allocations: 1.981 MB / 0.6783 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006206/0.1803, allocations: 5.256 MB / 0.6834 GB, free: 9.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1803, allocations: 3.938 kB / 0.6834 GB, free: 9.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1803, allocations: 0 / 0.6834 GB, free: 9.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.1805, allocations: 0 / 0.6834 GB, free: 9.398 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03059/0.2111, allocations: 8.157 MB / 0.6914 GB, free: 1.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.2112, allocations: 12.03 kB / 0.6914 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008857/0.2121, allocations: 286.5 kB / 0.6917 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.2235, allocations: 1.755 MB / 0.6934 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.2284, allocations: 2.167 MB / 0.6955 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008102/0.2293, allocations: 0.6663 MB / 0.6961 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.2303, allocations: 247.8 kB / 0.6964 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006881/0.2372, allocations: 2.685 MB / 0.699 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.2373, allocations: 4 kB / 0.699 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003896/0.2377, allocations: 76 kB / 0.6991 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.2378, allocations: 44 kB / 0.6991 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006214/0.244, allocations: 2.834 MB / 0.7019 GB, free: 6.223 MB / 0.4981 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.02001/0.264, allocations: 11 MB / 0.7126 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.2753, allocations: 4.975 MB / 0.7175 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/0.2794, allocations: 1.927 MB / 0.7194 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.2798, allocations: 45.95 kB / 0.7194 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.2799, allocations: 60.56 kB / 0.7195 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 3.737e-06/0.2799, allocations: 0 / 0.7195 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1176/0.3974, allocations: 29.55 MB / 0.7483 GB, free: 5.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.3975, allocations: 77.41 kB / 0.7484 GB, free: 5.746 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005049/0.4026, allocations: 2.906 MB / 0.7512 GB, free: 2.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007606/0.4034, allocations: 85.7 kB / 0.7513 GB, free: 2.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.4047, allocations: 1.253 MB / 0.7525 GB, free: 1.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001398/0.4061, allocations: 0.9052 MB / 0.7534 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002592/0.4087, allocations: 0.7522 MB / 0.7542 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.4088, allocations: 301.1 kB / 0.7544 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004845/0.4137, allocations: 2.28 MB / 0.7567 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/0.419, allocations: 2.675 MB / 0.7593 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.4293, allocations: 4.843 MB / 0.764 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/0.4294, allocations: 4 kB / 0.764 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.3014/0.7308, allocations: 7.218 MB / 0.7711 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.7309, allocations: 9.219 kB / 0.7711 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.7309, allocations: 4.219 kB / 0.7711 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01938/0.7503, allocations: 5.735 MB / 0.7767 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.7538, allocations: 0.6664 MB / 0.7773 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.7676, allocations: 5.446 MB / 0.7827 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/0.7724, allocations: 0.5025 MB / 0.7831 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000854/0.7733, allocations: 134.7 kB / 0.7833 GB, free: 107.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.7751, allocations: 0.5357 MB / 0.7838 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/0.7762, allocations: 334.1 kB / 0.7841 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02911/0.8053, allocations: 10.52 MB / 0.7944 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.8054, allocations: 33.03 kB / 0.7944 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.8054, allocations: 0 / 0.7944 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.893e-05/0.8055, allocations: 11.2 kB / 0.7944 GB, free: 104.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.03562/0.8411, allocations: 14.63 MB / 0.8087 GB, free: 93.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.8411, allocations: 0 / 0.8087 GB, free: 93.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.8426, allocations: 259.6 kB / 0.809 GB, free: 93.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/0.8557, allocations: 4.761 MB / 0.8136 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/0.8562, allocations: 51.98 kB / 0.8137 GB, free: 88.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04284/0.899, allocations: 21.45 MB / 0.8346 GB, free: 67.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8991, allocations: 0 / 0.8346 GB, free: 67.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03249/0.9316, allocations: 12.82 MB / 0.8471 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.9327, allocations: 0.4897 MB / 0.8476 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005877/0.9333, allocations: 50.41 kB / 0.8476 GB, free: 53.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/0.9359, allocations: 251.7 kB / 0.8479 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00163/0.9375, allocations: 0.5178 MB / 0.8484 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.9377, allocations: 63.98 kB / 0.8485 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002015/0.9397, allocations: 1.877 MB / 0.8503 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9398, allocations: 0 / 0.8503 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00253/0.9423, allocations: 1.126 MB / 0.8514 GB, free: 49.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * 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.03192/0.9742, allocations: 13.22 MB / 0.8643 GB, free: 36.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01413/0.9884, allocations: 6.165 MB / 0.8703 GB, free: 30.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9884, allocations: 4 kB / 0.8703 GB, free: 30.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009575/0.998, allocations: 3.781 MB / 0.874 GB, free: 26.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.001, allocations: 276.3 kB / 0.8743 GB, free: 26.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06734/1.068, allocations: 36.89 MB / 0.9103 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.069, allocations: 1.849 MB / 0.9121 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001287/1.07, allocations: 292.9 kB / 0.9124 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.072, allocations: 1.39 MB / 0.9138 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/1.072, allocations: 0 / 0.9138 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/1.202, allocations: 89.62 MB / 1.001 GB, free: 7.801 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/18.31, allocations: 9.125 kB / 1.001 GB, free: 7.793 MB / 0.67 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)