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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 91.55 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4243/0.4243, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.155e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3372, allocations: 69.51 MB / 0.5492 GB, free: 19.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4515, allocations: 98.24 MB / 0.6452 GB, free: 1.336 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4517, allocations: 79.95 kB / 0.6452 GB, free: 1.258 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07408/0.5258, allocations: 28.37 MB / 0.6729 GB, free: 4.656 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5258, allocations: 0 / 0.6729 GB, free: 4.656 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.738e-05/0.5259, allocations: 20 kB / 0.673 GB, free: 4.637 MB / 490.7 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.004203/0.5301, allocations: 1.648 MB / 0.6746 GB, free: 2.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5301, allocations: 11.97 kB / 0.6746 GB, free: 2.926 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.5303, allocations: 122.5 kB / 0.6747 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.5329, allocations: 497.9 kB / 0.6752 GB, free: 2.309 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.5342, allocations: 0.7196 MB / 0.6759 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.5346, allocations: 361.2 kB / 0.6762 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5348, allocations: 68 kB / 0.6763 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.5364, allocations: 0.9462 MB / 0.6772 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.5365, allocations: 4 kB / 0.6772 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.5366, allocations: 32 kB / 0.6772 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.5366, allocations: 19.98 kB / 0.6773 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2807/0.8173, allocations: 0.8776 MB / 0.6781 GB, free: 105 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006972/0.8243, allocations: 3.634 MB / 0.6817 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007782/0.8321, allocations: 2.762 MB / 0.6844 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.8334, allocations: 0.5987 MB / 0.6849 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.8335, allocations: 21.11 kB / 0.685 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.8336, allocations: 44.56 kB / 0.685 GB, free: 103.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.857e-06/0.8336, allocations: 1.594 kB / 0.685 GB, free: 103.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01379/0.8474, allocations: 4.627 MB / 0.6895 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.8475, allocations: 89.52 kB / 0.6896 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.8486, allocations: 0.7702 MB / 0.6904 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.8488, allocations: 40.83 kB / 0.6904 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.8491, allocations: 472.6 kB / 0.6909 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.8494, allocations: 341.2 kB / 0.6912 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.8495, allocations: 18.44 kB / 0.6912 GB, free: 102.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.8496, allocations: 343 kB / 0.6915 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.8503, allocations: 462.6 kB / 0.692 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.851, allocations: 0.5948 MB / 0.6925 GB, free: 102.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.8517, allocations: 0.4955 MB / 0.693 GB, free: 101.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8517, allocations: 0 / 0.693 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0131/0.8649, allocations: 4.747 MB / 0.6977 GB, free: 100.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.8649, allocations: 9.781 kB / 0.6977 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.8649, allocations: 3.625 kB / 0.6977 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006146/0.8711, allocations: 2.179 MB / 0.6998 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.8717, allocations: 123.8 kB / 0.6999 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.8889, allocations: 8.761 MB / 0.7085 GB, free: 94.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.8904, allocations: 196.7 kB / 0.7087 GB, free: 94.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.8905, allocations: 35.28 kB / 0.7087 GB, free: 94.14 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0002105/0.8907, allocations: 147 kB / 0.7088 GB, free: 94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.8909, allocations: 118.3 kB / 0.709 GB, free: 93.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.9037, allocations: 4.761 MB / 0.7136 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.9038, allocations: 15.95 kB / 0.7136 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9038, allocations: 0 / 0.7136 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.9038, allocations: 10.88 kB / 0.7136 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.9183, allocations: 6.39 MB / 0.7199 GB, free: 85.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.9184, allocations: 0 / 0.7199 GB, free: 85.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.9188, allocations: 94.23 kB / 0.72 GB, free: 85.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.9245, allocations: 2.014 MB / 0.7219 GB, free: 83.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.9246, allocations: 16 kB / 0.7219 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.9398, allocations: 7.76 MB / 0.7295 GB, free: 75.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.9398, allocations: 3.625 kB / 0.7295 GB, free: 75.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.9538, allocations: 5.619 MB / 0.735 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.9542, allocations: 219.1 kB / 0.7352 GB, free: 69.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.9544, allocations: 20 kB / 0.7352 GB, free: 69.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.9555, allocations: 147.9 kB / 0.7354 GB, free: 69.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006669/0.9562, allocations: 229 kB / 0.7356 GB, free: 69.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.9563, allocations: 28 kB / 0.7356 GB, free: 69.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006697/0.957, allocations: 0.6037 MB / 0.7362 GB, free: 68.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.957, allocations: 7.938 kB / 0.7362 GB, free: 68.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001162/0.9581, allocations: 455.3 kB / 0.7367 GB, free: 68.26 MB / 490.7 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 () * 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 {26 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/0.9722, allocations: 6.263 MB / 0.7428 GB, free: 61.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005981/0.9782, allocations: 2.259 MB / 0.745 GB, free: 59.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.9782, allocations: 0 / 0.745 GB, free: 59.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004811/0.9831, allocations: 1.711 MB / 0.7466 GB, free: 57.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000813/0.9839, allocations: 84.17 kB / 0.7467 GB, free: 57.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.9871, allocations: 1.837 MB / 0.7485 GB, free: 56.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.9875, allocations: 1.111 MB / 0.7496 GB, free: 54.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.9878, allocations: 69.5 kB / 0.7497 GB, free: 54.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.9882, allocations: 415.3 kB / 0.7501 GB, free: 54.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/0.9882, allocations: 4 kB / 0.7501 GB, free: 54.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/1.033, allocations: 33.8 MB / 0.7831 GB, free: 21.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/1.033, allocations: 162 kB / 0.7832 GB, free: 20.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.758, allocations: 4 kB / 0.7832 GB, free: 20.86 MB / 490.7 MB (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)