Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.0009076/0.0009076, allocations: 99.08 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.334/1.334, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001379/0.001379, allocations: 181 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5079/0.5079, allocations: 79.46 MB / 420.7 MB, free: 4.027 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 8 kB / 0.4891 GB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4048, allocations: 69.5 MB / 0.557 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.004936/0.4098, allocations: 5.377 MB / 0.5622 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003956/0.4138, allocations: 1.862 MB / 0.564 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009333/0.4148, allocations: 12.28 kB / 0.564 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.4154, allocations: 169.5 kB / 0.5642 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.4172, allocations: 0.5621 MB / 0.5648 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.4188, allocations: 0.6836 MB / 0.5654 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.421, allocations: 0.9707 MB / 0.5664 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.4215, allocations: 233.2 kB / 0.5666 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.4226, allocations: 0.5356 MB / 0.5671 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.4238, allocations: 0.6994 MB / 0.5678 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.4242, allocations: 64.44 kB / 0.5679 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.4251, allocations: 156.6 kB / 0.568 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.4254, allocations: 242.4 kB / 0.5682 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.4259, allocations: 219.3 kB / 0.5684 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.4274, allocations: 1.1 MB / 0.5695 GB, free: 36.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4274, allocations: 0 / 0.5695 GB, free: 36.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4275, allocations: 1.656 kB / 0.5695 GB, free: 36.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.837e-05/0.4275, allocations: 0 / 0.5695 GB, free: 36.07 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00835/0.4359, allocations: 2.463 MB / 0.5719 GB, free: 35.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4359, allocations: 9.281 kB / 0.5719 GB, free: 35.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004244/0.4364, allocations: 122.4 kB / 0.5721 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/0.4406, allocations: 0.6843 MB / 0.5727 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.4421, allocations: 0.7626 MB / 0.5735 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.4424, allocations: 367.5 kB / 0.5738 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.4426, allocations: 72.44 kB / 0.5739 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.4449, allocations: 1.201 MB / 0.5751 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4449, allocations: 3 kB / 0.5751 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/0.445, allocations: 41.78 kB / 0.5751 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.4451, allocations: 18.03 kB / 0.5751 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.4474, allocations: 1.166 MB / 0.5763 GB, free: 33.25 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.006347/0.4537, allocations: 3.792 MB / 0.58 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007278/0.461, allocations: 3.071 MB / 0.583 GB, free: 29.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.4613, allocations: 20.31 kB / 0.583 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4613, allocations: 48.12 kB / 0.583 GB, free: 29.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.4613, allocations: 4 kB / 0.583 GB, free: 29.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04342/0.5047, allocations: 11.4 MB / 0.5942 GB, free: 28.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.5048, allocations: 92.11 kB / 0.5942 GB, free: 28.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.5064, allocations: 0.9014 MB / 0.5951 GB, free: 27.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.5067, allocations: 45.55 kB / 0.5952 GB, free: 27.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.507, allocations: 462.4 kB / 0.5956 GB, free: 27.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.5074, allocations: 344.2 kB / 0.5959 GB, free: 27.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.5075, allocations: 20.12 kB / 0.596 GB, free: 27.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.5076, allocations: 342.6 kB / 0.5963 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.5093, allocations: 0.7503 MB / 0.597 GB, free: 26.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.5111, allocations: 0.9045 MB / 0.5979 GB, free: 26.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.5128, allocations: 0.796 MB / 0.5987 GB, free: 25.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5129, allocations: 1.188 kB / 0.5987 GB, free: 25.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01801/0.5309, allocations: 5.663 MB / 0.6042 GB, free: 24.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.5309, allocations: 7.469 kB / 0.6042 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.531, allocations: 3.781 kB / 0.6042 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008922/0.5399, allocations: 2.7 MB / 0.6069 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.5408, allocations: 134.5 kB / 0.607 GB, free: 24.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02713/0.5679, allocations: 12.32 MB / 0.619 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.5697, allocations: 203.1 kB / 0.6192 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5698, allocations: 36.84 kB / 0.6192 GB, free: 12.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {26 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004818/0.5703, allocations: 233.7 kB / 0.6195 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.5705, allocations: 118.5 kB / 0.6196 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.5849, allocations: 5.483 MB / 0.6249 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.585, allocations: 8 kB / 0.6249 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.585, allocations: 10.81 kB / 0.625 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/0.585, allocations: 3.984 kB / 0.625 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.6016, allocations: 7.117 MB / 0.6319 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/0.6017, allocations: 0 / 0.6319 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.6023, allocations: 91.89 kB / 0.632 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007872/0.6102, allocations: 2.534 MB / 0.6345 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.6104, allocations: 19.94 kB / 0.6345 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/0.6357, allocations: 10.77 MB / 0.645 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6358, allocations: 0 / 0.645 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.6542, allocations: 6.637 MB / 0.6515 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/0.6548, allocations: 215.5 kB / 0.6517 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.6551, allocations: 16 kB / 0.6517 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.6563, allocations: 151.8 kB / 0.6519 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007232/0.657, allocations: 229 kB / 0.6521 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.278e-05/0.6571, allocations: 30.02 kB / 0.6521 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008392/0.658, allocations: 0.6148 MB / 0.6527 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.658, allocations: 0 / 0.6527 GB, free: 10.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0016/0.6596, allocations: 455.6 kB / 0.6531 GB, free: 9.656 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,gENCLS.omega) * 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 (55): * Single equations (assignments): 54 * 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 {27 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01849/0.6781, allocations: 7.27 MB / 0.6602 GB, free: 2.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00812/0.6862, allocations: 2.861 MB / 0.663 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6863, allocations: 320 / 0.663 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006037/0.6923, allocations: 2.007 MB / 0.665 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.6933, allocations: 92.69 kB / 0.6651 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.6997, allocations: 5.67 MB / 0.6706 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.7004, allocations: 1.115 MB / 0.6717 GB, free: 6.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004676/0.7009, allocations: 82.73 kB / 0.6718 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/0.7015, allocations: 427.3 kB / 0.6722 GB, free: 5.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7015, allocations: 1.406 kB / 0.6722 GB, free: 5.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.7579, allocations: 33.71 MB / 0.7051 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.7581, allocations: 194.5 kB / 0.7053 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.372, allocations: 0 / 0.7053 GB, free: 4.293 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1) Environment - environmentSimulation: