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/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/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/package.mo): time 0.07375/0.07375, allocations: 12.2 MB / 27.18 MB, free: 104 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.0008031, allocations: 108.5 kB / 30.68 MB, free: 6.398 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001263/0.001263, allocations: 176.5 kB / 290.6 MB, free: 8.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4341/0.4341, allocations: 78.53 MB / 420.1 MB, free: 6.535 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.000832/0.000832, allocations: 31.53 kB / 0.4895 GB, free: 37.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1305, allocations: 69.25 MB / 0.5572 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01321/0.1437, allocations: 14.04 MB / 0.5709 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.1557, allocations: 4.447 MB / 0.5752 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.1589, allocations: 32 kB / 0.5753 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.1608, allocations: 0.5392 MB / 0.5758 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006712/0.1675, allocations: 2.012 MB / 0.5777 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.1704, allocations: 1.094 MB / 0.5788 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006933/0.1773, allocations: 4.349 MB / 0.5831 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.1791, allocations: 0.6595 MB / 0.5837 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.182, allocations: 1.56 MB / 0.5852 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.1855, allocations: 2.135 MB / 0.5873 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.1867, allocations: 188 kB / 0.5875 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.1887, allocations: 391.8 kB / 0.5879 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.19, allocations: 0.7309 MB / 0.5886 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.1915, allocations: 0.6052 MB / 0.5892 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.1961, allocations: 4.059 MB / 0.5931 GB, free: 3.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.1961, allocations: 11.94 kB / 0.5931 GB, free: 3.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1962, allocations: 0 / 0.5931 GB, free: 3.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001173/0.1963, allocations: 0 / 0.5931 GB, free: 3.762 MB / 414.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.03306/0.2293, allocations: 9.124 MB / 0.6021 GB, free: 10.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2294, allocations: 11.98 kB / 0.6021 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001087/0.2305, allocations: 282.5 kB / 0.6023 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.2413, allocations: 1.771 MB / 0.6041 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.246, allocations: 2.057 MB / 0.6061 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000705/0.2467, allocations: 0.6936 MB / 0.6068 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000419/0.2471, allocations: 243.8 kB / 0.607 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005629/0.2528, allocations: 2.85 MB / 0.6098 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.2528, allocations: 0 / 0.6098 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.253, allocations: 76 kB / 0.6098 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/0.2531, allocations: 51.95 kB / 0.6099 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/0.2591, allocations: 3.025 MB / 0.6128 GB, free: 15.34 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.01871/0.2778, allocations: 11.18 MB / 0.6238 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.2895, allocations: 5.67 MB / 0.6293 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00407/0.2936, allocations: 2.095 MB / 0.6313 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.294, allocations: 45.95 kB / 0.6314 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.2941, allocations: 56.56 kB / 0.6314 GB, free: 11.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 5.65e-06/0.2941, allocations: 4 kB / 0.6314 GB, free: 11.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=249): time 0.3863/0.6804, allocations: 35.4 MB / 0.666 GB, free: 90.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.6805, allocations: 76.91 kB / 0.6661 GB, free: 90.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/0.6855, allocations: 2.878 MB / 0.6689 GB, free: 90.06 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008486/0.6864, allocations: 80.73 kB / 0.669 GB, free: 90.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.6874, allocations: 1.26 MB / 0.6702 GB, free: 89.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.6884, allocations: 0.8991 MB / 0.6711 GB, free: 89.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.6887, allocations: 86.27 kB / 0.6712 GB, free: 89.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6889, allocations: 476.2 kB / 0.6716 GB, free: 89.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/0.694, allocations: 2.444 MB / 0.674 GB, free: 89.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005098/0.6991, allocations: 2.842 MB / 0.6768 GB, free: 88.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.7037, allocations: 2.627 MB / 0.6794 GB, free: 87.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.7037, allocations: 1.25 kB / 0.6794 GB, free: 87.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0133/0.717, allocations: 7.705 MB / 0.6869 GB, free: 84.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.7171, allocations: 7.812 kB / 0.6869 GB, free: 84.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.7171, allocations: 7.859 kB / 0.6869 GB, free: 84.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.7338, allocations: 6.502 MB / 0.6932 GB, free: 79.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.7371, allocations: 0.6671 MB / 0.6939 GB, free: 79.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.7487, allocations: 6.132 MB / 0.6999 GB, free: 72.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/0.7533, allocations: 0.6016 MB / 0.7005 GB, free: 72.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/0.7539, allocations: 136 kB / 0.7006 GB, free: 72.23 MB / 478.1 MB 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 (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 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.002116/0.756, allocations: 0.5284 MB / 0.7011 GB, free: 71.69 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/0.7571, allocations: 336.2 kB / 0.7014 GB, free: 71.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03125/0.7883, allocations: 12.85 MB / 0.714 GB, free: 58.44 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/0.7884, allocations: 24 kB / 0.714 GB, free: 58.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.7885, allocations: 4 kB / 0.714 GB, free: 58.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-05/0.7886, allocations: 13.08 kB / 0.714 GB, free: 58.4 MB / 478.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 postOpt removeSimpleEquations (simulation): time 0.04004/0.8286, allocations: 16.98 MB / 0.7306 GB, free: 41.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.8287, allocations: 1.969 kB / 0.7306 GB, free: 41.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.8303, allocations: 264.2 kB / 0.7309 GB, free: 40.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/0.8451, allocations: 5.57 MB / 0.7363 GB, free: 35.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006774/0.8459, allocations: 55.98 kB / 0.7363 GB, free: 35.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04914/0.895, allocations: 22.01 MB / 0.7578 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8951, allocations: 3.938 kB / 0.7578 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03793/0.933, allocations: 15.31 MB / 0.7728 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.9347, allocations: 0.4923 MB / 0.7733 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/0.9364, allocations: 55.98 kB / 0.7733 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/0.9402, allocations: 335.7 kB / 0.7737 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002242/0.9425, allocations: 0.5161 MB / 0.7742 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005379/0.9431, allocations: 67.98 kB / 0.7742 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004097/0.9472, allocations: 1.849 MB / 0.776 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9472, allocations: 0 / 0.776 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005268/0.9525, allocations: 1.122 MB / 0.7771 GB, free: 9.344 MB / 494.1 MB 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 (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.03969/0.9922, allocations: 15.68 MB / 0.7924 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01799/1.01, allocations: 6.81 MB / 0.7991 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.01, allocations: 0 / 0.7991 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01168/1.022, allocations: 4.272 MB / 0.8033 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/1.026, allocations: 264 kB / 0.8035 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06307/1.089, allocations: 29.98 MB / 0.8328 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/1.091, allocations: 1.849 MB / 0.8346 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001723/1.093, allocations: 292.9 kB / 0.8349 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002552/1.095, allocations: 1.382 MB / 0.8362 GB, free: 10.89 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/1.095, allocations: 0 / 0.8362 GB, free: 10.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.396/1.491, allocations: 81.26 MB / 0.9156 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/1.492, allocations: 205.5 kB / 0.9158 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.601/6.092, allocations: 0 / 0.9158 GB, free: 177.9 MB / 0.5762 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/linux/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) Environment - environmentSimulation: