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.001471/0.001471, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.304/1.304, allocations: 223.2 MB / 238.9 MB, free: 5.504 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.001114/0.001114, allocations: 181 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4598/0.4598, allocations: 79.45 MB / 420.7 MB, free: 3.902 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 12 kB / 0.4891 GB, free: 5.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 69.5 MB / 0.557 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.0097/0.3442, allocations: 13.21 MB / 0.5699 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.3523, allocations: 4.599 MB / 0.5743 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002908/0.3552, allocations: 32.25 kB / 0.5744 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.3573, allocations: 0.5434 MB / 0.5749 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.3623, allocations: 1.679 MB / 0.5765 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3647, allocations: 1.143 MB / 0.5777 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004583/0.3693, allocations: 2.798 MB / 0.5804 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009404/0.3703, allocations: 0.6695 MB / 0.5811 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.3721, allocations: 1.479 MB / 0.5825 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.3742, allocations: 2.025 MB / 0.5845 GB, free: 25.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000393/0.3746, allocations: 192.3 kB / 0.5847 GB, free: 25.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000901/0.3755, allocations: 389 kB / 0.585 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.376, allocations: 0.6982 MB / 0.5857 GB, free: 25.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.3765, allocations: 0.6047 MB / 0.5863 GB, free: 24.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.3791, allocations: 3.916 MB / 0.5901 GB, free: 23.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3791, allocations: 3.938 kB / 0.5901 GB, free: 23.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3791, allocations: 0 / 0.5901 GB, free: 23.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.692e-05/0.3792, allocations: 0 / 0.5901 GB, free: 23.62 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.02941/0.4086, allocations: 7.725 MB / 0.5977 GB, free: 21.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.4087, allocations: 10.53 kB / 0.5977 GB, free: 21.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001173/0.4098, allocations: 286.5 kB / 0.598 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.4216, allocations: 1.769 MB / 0.5997 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/0.4268, allocations: 2.055 MB / 0.6017 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007848/0.4276, allocations: 0.696 MB / 0.6024 GB, free: 18.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008817/0.4285, allocations: 239.7 kB / 0.6026 GB, free: 18.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006818/0.4353, allocations: 2.836 MB / 0.6054 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.4354, allocations: 2.031 kB / 0.6054 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.4356, allocations: 80.34 kB / 0.6054 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.4357, allocations: 48.62 kB / 0.6055 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006882/0.4426, allocations: 3.016 MB / 0.6084 GB, free: 16.63 MB / 430.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.02162/0.4642, allocations: 11.71 MB / 0.6199 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.4768, allocations: 5.667 MB / 0.6254 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.4773, allocations: 43.8 kB / 0.6255 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4773, allocations: 57.66 kB / 0.6255 GB, free: 5.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.779e-06/0.4773, allocations: 0 / 0.6255 GB, free: 5.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.1362/0.6135, allocations: 35.51 MB / 0.6602 GB, free: 2.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.6136, allocations: 77.41 kB / 0.6603 GB, free: 2.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.6181, allocations: 2.882 MB / 0.6631 GB, free: 15.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008008/0.6189, allocations: 81.7 kB / 0.6632 GB, free: 15.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.6199, allocations: 1.256 MB / 0.6644 GB, free: 14.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.6213, allocations: 0.8974 MB / 0.6653 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.6216, allocations: 84 kB / 0.6653 GB, free: 13.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.6218, allocations: 466.9 kB / 0.6658 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004911/0.6268, allocations: 2.441 MB / 0.6682 GB, free: 10.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/0.6318, allocations: 2.825 MB / 0.6709 GB, free: 7.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005069/0.6369, allocations: 2.632 MB / 0.6735 GB, free: 4.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.6369, allocations: 3.953 kB / 0.6735 GB, free: 4.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01537/0.6523, allocations: 7.689 MB / 0.681 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6524, allocations: 5.688 kB / 0.681 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.6524, allocations: 8 kB / 0.681 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01998/0.6724, allocations: 6.503 MB / 0.6874 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/0.6759, allocations: 0.6643 MB / 0.688 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.6906, allocations: 6.142 MB / 0.694 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/0.6959, allocations: 0.5977 MB / 0.6946 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005307/0.6964, allocations: 140 kB / 0.6947 GB, free: 14.86 MB / 0.4981 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 (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.001355/0.6978, allocations: 0.5245 MB / 0.6952 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008422/0.6987, allocations: 339.7 kB / 0.6956 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03812/0.7368, allocations: 12.84 MB / 0.7081 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.7368, allocations: 28 kB / 0.7081 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.7369, allocations: 5.391 kB / 0.7081 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.508e-05/0.7369, allocations: 15.94 kB / 0.7082 GB, free: 1.023 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 postOpt removeSimpleEquations (simulation): time 0.04332/0.7803, allocations: 16.97 MB / 0.7247 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.7803, allocations: 5.125 kB / 0.7247 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.7819, allocations: 255.7 kB / 0.725 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/0.7987, allocations: 5.573 MB / 0.7304 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005471/0.7993, allocations: 48 kB / 0.7305 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0551/0.8544, allocations: 23.25 MB / 0.7532 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8545, allocations: 0 / 0.7532 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04278/0.8973, allocations: 15.32 MB / 0.7681 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.8987, allocations: 0.4962 MB / 0.7686 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000713/0.8994, allocations: 44 kB / 0.7687 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003072/0.9025, allocations: 343.7 kB / 0.769 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001543/0.904, allocations: 0.5147 MB / 0.7695 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.9042, allocations: 63.98 kB / 0.7696 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2503/1.155, allocations: 1.846 MB / 0.7714 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.92e-07/1.155, allocations: 0 / 0.7714 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005999/1.161, allocations: 1.124 MB / 0.7725 GB, free: 167.3 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 (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.04248/1.203, allocations: 15.68 MB / 0.7878 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02044/1.224, allocations: 6.805 MB / 0.7944 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.224, allocations: 0 / 0.7944 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0133/1.237, allocations: 4.268 MB / 0.7986 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.239, allocations: 223.6 kB / 0.7988 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.256, allocations: 12.13 MB / 0.8106 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/1.258, allocations: 1.911 MB / 0.8125 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00161/1.26, allocations: 290.9 kB / 0.8128 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.261, allocations: 1.381 MB / 0.8141 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.261, allocations: 0 / 0.8141 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.369, allocations: 78.33 MB / 0.8906 GB, free: 89.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/1.369, allocations: 191 kB / 0.8908 GB, free: 88.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/5.398, allocations: 0 / 0.8908 GB, free: 88.9 MB / 0.5606 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/linux/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) Environment - environmentSimulation: