Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.1177/0.1177, allocations: 12.2 MB / 27.17 MB, free: 1.504 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.0008502/0.0008503, allocations: 103.5 kB / 30.68 MB, free: 4.859 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.787/1.787, allocations: 205.4 MB / 239.5 MB, free: 11.57 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.001224/0.001224, allocations: 180.5 kB / 290.6 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.524/0.524, allocations: 78.53 MB / 420.1 MB, free: 48.65 MB / 334.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.000934/0.0009341, allocations: 32 kB / 0.4896 GB, free: 2.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.527, allocations: 69.21 MB / 0.5571 GB, free: 43.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.007304/0.5344, allocations: 5.746 MB / 0.5628 GB, free: 41.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.5395, allocations: 1.776 MB / 0.5645 GB, free: 40.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009806/0.5405, allocations: 10.62 kB / 0.5645 GB, free: 40.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.5412, allocations: 175.5 kB / 0.5647 GB, free: 40.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.5432, allocations: 0.6688 MB / 0.5653 GB, free: 39.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.545, allocations: 0.5446 MB / 0.5659 GB, free: 39.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.5475, allocations: 1.482 MB / 0.5673 GB, free: 38.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.548, allocations: 232.1 kB / 0.5675 GB, free: 38.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.5491, allocations: 0.5251 MB / 0.568 GB, free: 38.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.5502, allocations: 0.7164 MB / 0.5687 GB, free: 38.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.5504, allocations: 64.81 kB / 0.5688 GB, free: 38.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006611/0.5511, allocations: 180.9 kB / 0.569 GB, free: 38.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.5513, allocations: 245.2 kB / 0.5692 GB, free: 37.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.5516, allocations: 214.1 kB / 0.5694 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.553, allocations: 1.159 MB / 0.5705 GB, free: 37.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.553, allocations: 0 / 0.5705 GB, free: 37.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.553, allocations: 0 / 0.5705 GB, free: 37.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.553, allocations: 0 / 0.5705 GB, free: 37.43 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.007352/0.5604, allocations: 2.474 MB / 0.573 GB, free: 36.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.5604, allocations: 12.73 kB / 0.573 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.5607, allocations: 124.7 kB / 0.5731 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.5646, allocations: 0.6868 MB / 0.5738 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.5659, allocations: 0.7618 MB / 0.5745 GB, free: 35.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003241/0.5663, allocations: 359 kB / 0.5748 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.5664, allocations: 75.94 kB / 0.5749 GB, free: 35.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.5687, allocations: 1.212 MB / 0.5761 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5687, allocations: 3.938 kB / 0.5761 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.5688, allocations: 32.08 kB / 0.5761 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.5688, allocations: 16.72 kB / 0.5761 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.5711, allocations: 1.166 MB / 0.5773 GB, free: 34.5 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.005697/0.5768, allocations: 3.668 MB / 0.5809 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006916/0.5837, allocations: 3.082 MB / 0.5839 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.5852, allocations: 0.8669 MB / 0.5847 GB, free: 31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.5854, allocations: 18.48 kB / 0.5847 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5854, allocations: 42.19 kB / 0.5848 GB, free: 30.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.705e-06/0.5854, allocations: 7.938 kB / 0.5848 GB, free: 30.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04139/0.6268, allocations: 11.39 MB / 0.5959 GB, free: 29.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.6269, allocations: 87.17 kB / 0.596 GB, free: 29.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.6292, allocations: 0.8983 MB / 0.5969 GB, free: 28.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.6294, allocations: 40.36 kB / 0.5969 GB, free: 28.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.6299, allocations: 465.8 kB / 0.5974 GB, free: 28.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.6304, allocations: 340.9 kB / 0.5977 GB, free: 28.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6306, allocations: 19.66 kB / 0.5977 GB, free: 28.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6307, allocations: 348.6 kB / 0.598 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.6328, allocations: 0.7497 MB / 0.5988 GB, free: 27.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.6349, allocations: 0.9078 MB / 0.5997 GB, free: 27.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.6369, allocations: 0.804 MB / 0.6004 GB, free: 26.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.6369, allocations: 1.25 kB / 0.6004 GB, free: 26.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01688/0.6538, allocations: 5.663 MB / 0.606 GB, free: 24.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.6539, allocations: 6.781 kB / 0.606 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.6539, allocations: 4.5 kB / 0.606 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00791/0.6618, allocations: 2.701 MB / 0.6086 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.6626, allocations: 139.8 kB / 0.6088 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02536/0.688, allocations: 11.73 MB / 0.6202 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.6899, allocations: 207 kB / 0.6204 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.6902, allocations: 39.98 kB / 0.6204 GB, free: 10.92 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.0006363/0.6908, allocations: 237.5 kB / 0.6207 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.6912, allocations: 114.6 kB / 0.6208 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.7049, allocations: 5.475 MB / 0.6261 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.705, allocations: 12.88 kB / 0.6261 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.705, allocations: 0 / 0.6261 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.705, allocations: 7.984 kB / 0.6262 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.7215, allocations: 7.117 MB / 0.6331 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.7216, allocations: 11.94 kB / 0.6331 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.7222, allocations: 91.84 kB / 0.6332 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007454/0.7297, allocations: 2.537 MB / 0.6357 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.7298, allocations: 23.98 kB / 0.6357 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/0.7544, allocations: 10.2 MB / 0.6457 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7545, allocations: 4 kB / 0.6457 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/0.7722, allocations: 6.619 MB / 0.6521 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/0.7728, allocations: 223.3 kB / 0.6523 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/0.7732, allocations: 20 kB / 0.6524 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.7747, allocations: 139.9 kB / 0.6525 GB, free: 9.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008142/0.7755, allocations: 233 kB / 0.6527 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.7756, allocations: 27.98 kB / 0.6527 GB, free: 9.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.7767, allocations: 0.6148 MB / 0.6533 GB, free: 8.863 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7767, allocations: 0 / 0.6533 GB, free: 8.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001888/0.7786, allocations: 455.6 kB / 0.6538 GB, free: 8.418 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.01753/0.7961, allocations: 7.179 MB / 0.6608 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00764/0.8038, allocations: 2.87 MB / 0.6636 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8038, allocations: 0 / 0.6636 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005528/0.8094, allocations: 2.008 MB / 0.6655 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.8107, allocations: 102.6 kB / 0.6656 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/0.839, allocations: 12.2 MB / 0.6776 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009906/0.84, allocations: 1.088 MB / 0.6786 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004622/0.8405, allocations: 86.92 kB / 0.6787 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/0.8413, allocations: 423.3 kB / 0.6791 GB, free: 14.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.633e-06/0.8413, allocations: 0 / 0.6791 GB, free: 14.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/0.9108, allocations: 34.28 MB / 0.7126 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.911, allocations: 194.8 kB / 0.7128 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.707, allocations: 4 kB / 0.7128 GB, free: 11.64 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1) Environment - environmentSimulation: