Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1407/0.1407, allocations: 12.59 MB / 28.23 MB, free: 0.75 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001582, allocations: 115.4 kB / 31.84 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.833/2.833, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003477/0.003477, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.7014/0.7014, allocations: 78.52 MB / 419.3 MB, free: 11.21 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005689/0.00569, allocations: 138.7 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3049, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.02619/0.3312, allocations: 15.02 MB / 0.6366 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02049/0.3518, allocations: 4.585 MB / 0.641 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007081/0.359, allocations: 32 kB / 0.6411 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.3647, allocations: 0.7701 MB / 0.6418 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01748/0.3823, allocations: 2.423 MB / 0.6442 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006964/0.3893, allocations: 1.329 MB / 0.6455 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01705/0.4064, allocations: 4.895 MB / 0.6503 GB, free: 2.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004818/0.4113, allocations: 0.7996 MB / 0.651 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007374/0.4188, allocations: 1.883 MB / 0.6529 GB, free: 76 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006959/0.4258, allocations: 2.447 MB / 0.6553 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003857/0.4297, allocations: 404 kB / 0.6557 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00564/0.4355, allocations: 0.6286 MB / 0.6563 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00465/0.4402, allocations: 0.9728 MB / 0.6572 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009275/0.4495, allocations: 2.009 MB / 0.6592 GB, free: 9.598 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.4678, allocations: 5.322 MB / 0.6644 GB, free: 4.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.817e-05/0.468, allocations: 4 kB / 0.6644 GB, free: 4.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.468, allocations: 0 / 0.6644 GB, free: 4.254 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003436/0.4683, allocations: 0 / 0.6644 GB, free: 4.254 MB / 478.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.06967/0.538, allocations: 9.519 MB / 0.6737 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001003/0.5382, allocations: 15.92 kB / 0.6737 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002061/0.5403, allocations: 286.5 kB / 0.674 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/0.5608, allocations: 1.751 MB / 0.6757 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.5715, allocations: 2.171 MB / 0.6778 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001902/0.5735, allocations: 0.6663 MB / 0.6785 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/0.5761, allocations: 243.8 kB / 0.6787 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.5925, allocations: 2.682 MB / 0.6813 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.5928, allocations: 0 / 0.6813 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.594, allocations: 84 kB / 0.6814 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.768e-05/0.5941, allocations: 48 kB / 0.6814 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.6085, allocations: 2.83 MB / 0.6842 GB, free: 15.71 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.04945/0.658, allocations: 11 MB / 0.6949 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02427/0.6824, allocations: 4.971 MB / 0.6998 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009275/0.6918, allocations: 1.931 MB / 0.7017 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009483/0.6928, allocations: 45.95 kB / 0.7017 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.693, allocations: 60.56 kB / 0.7018 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 1.746e-05/0.6931, allocations: 0 / 0.7018 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.8198/1.513, allocations: 29.55 MB / 0.7306 GB, free: 77.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.513, allocations: 76.41 kB / 0.7307 GB, free: 77.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/1.523, allocations: 2.9 MB / 0.7335 GB, free: 76.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001447/1.525, allocations: 84.89 kB / 0.7336 GB, free: 76.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002419/1.527, allocations: 1.265 MB / 0.7349 GB, free: 75.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002612/1.53, allocations: 0.8951 MB / 0.7357 GB, free: 74.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005781/1.536, allocations: 0.7467 MB / 0.7365 GB, free: 74.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.536, allocations: 301.1 kB / 0.7367 GB, free: 74.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/1.546, allocations: 2.287 MB / 0.739 GB, free: 72.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/1.557, allocations: 2.679 MB / 0.7416 GB, free: 71.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03993/1.597, allocations: 4.849 MB / 0.7463 GB, free: 68.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-05/1.597, allocations: 4 kB / 0.7463 GB, free: 68.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.04679/1.644, allocations: 7.228 MB / 0.7534 GB, free: 63.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/1.644, allocations: 8.75 kB / 0.7534 GB, free: 63.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/1.644, allocations: 8 kB / 0.7534 GB, free: 63.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03472/1.679, allocations: 5.725 MB / 0.759 GB, free: 58.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006113/1.685, allocations: 0.6709 MB / 0.7597 GB, free: 57.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/1.711, allocations: 5.439 MB / 0.765 GB, free: 51.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008757/1.719, allocations: 0.5156 MB / 0.7655 GB, free: 51.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/1.721, allocations: 143.5 kB / 0.7656 GB, free: 51.22 MB / 0.5137 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.004327/1.726, allocations: 0.5207 MB / 0.7661 GB, free: 50.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002644/1.728, allocations: 335.8 kB / 0.7664 GB, free: 50.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05771/1.786, allocations: 10.51 MB / 0.7767 GB, free: 39.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/1.786, allocations: 24 kB / 0.7767 GB, free: 39.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/1.786, allocations: 7.938 kB / 0.7767 GB, free: 39.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001146/1.786, allocations: 21.91 kB / 0.7767 GB, free: 39.72 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 postOpt removeSimpleEquations (simulation): time 0.06749/1.854, allocations: 14.62 MB / 0.791 GB, free: 24.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/1.854, allocations: 0 / 0.791 GB, free: 24.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.857, allocations: 255.7 kB / 0.7913 GB, free: 24.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03311/1.89, allocations: 4.769 MB / 0.7959 GB, free: 19.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001321/1.891, allocations: 51.98 kB / 0.796 GB, free: 19.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09638/1.988, allocations: 21.45 MB / 0.8169 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.988, allocations: 0.875 kB / 0.8169 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07957/2.067, allocations: 12.82 MB / 0.8294 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002974/2.071, allocations: 492.1 kB / 0.8299 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002909/2.074, allocations: 48 kB / 0.83 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007424/2.081, allocations: 249.7 kB / 0.8302 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004101/2.085, allocations: 0.5257 MB / 0.8307 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/2.086, allocations: 63.98 kB / 0.8308 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008385/2.095, allocations: 1.877 MB / 0.8326 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.655e-06/2.095, allocations: 0 / 0.8326 GB, free: 14.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01252/2.107, allocations: 1.122 MB / 0.8337 GB, free: 12.96 MB / 0.545 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.08007/2.188, allocations: 13.23 MB / 0.8466 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03583/2.224, allocations: 6.164 MB / 0.8526 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/2.224, allocations: 0 / 0.8526 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.02438/2.248, allocations: 3.789 MB / 0.8563 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/2.26, allocations: 271.8 kB / 0.8566 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1892/2.449, allocations: 36.91 MB / 0.8926 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/2.453, allocations: 1.852 MB / 0.8945 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003185/2.456, allocations: 288.9 kB / 0.8947 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005202/2.461, allocations: 1.397 MB / 0.8961 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.906e-06/2.461, allocations: 0 / 0.8961 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.171/3.632, allocations: 93.34 MB / 0.9872 GB, free: 222.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.33/45.96, allocations: 10.02 kB / 0.9873 GB, free: 222.2 MB / 0.67 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)