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.001454/0.001454, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.001664/0.001664, allocations: 195.6 kB / 289.6 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6542/0.6542, allocations: 91.9 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 83.86 kB / 0.502 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5085, allocations: 71.26 MB / 0.5716 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.005701/0.5142, allocations: 6.184 MB / 0.5776 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.5183, allocations: 1.867 MB / 0.5794 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.5188, allocations: 10.75 kB / 0.5794 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.5193, allocations: 240 kB / 0.5797 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.5208, allocations: 0.5862 MB / 0.5802 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.5228, allocations: 0.8197 MB / 0.581 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.5247, allocations: 1.506 MB / 0.5825 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005313/0.5253, allocations: 291.7 kB / 0.5828 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008022/0.5261, allocations: 0.6078 MB / 0.5834 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.5272, allocations: 0.7942 MB / 0.5842 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.5274, allocations: 119.2 kB / 0.5843 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.528, allocations: 231.2 kB / 0.5845 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.5283, allocations: 303.9 kB / 0.5848 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006487/0.529, allocations: 0.6307 MB / 0.5854 GB, free: 28.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5307, allocations: 1.542 MB / 0.5869 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5308, allocations: 1.344 kB / 0.5869 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5308, allocations: 0 / 0.5869 GB, free: 28.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.5308, allocations: 0 / 0.5869 GB, free: 28.13 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.009069/0.5399, allocations: 2.614 MB / 0.5895 GB, free: 26.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.126e-05/0.5399, allocations: 9.406 kB / 0.5895 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.5401, allocations: 125 kB / 0.5896 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/0.5444, allocations: 0.6775 MB / 0.5903 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.5459, allocations: 0.8126 MB / 0.591 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.5464, allocations: 339 kB / 0.5914 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.5466, allocations: 72.5 kB / 0.5914 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.5493, allocations: 1.147 MB / 0.5926 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.5493, allocations: 0 / 0.5926 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.5495, allocations: 29.53 kB / 0.5926 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.5495, allocations: 18.34 kB / 0.5926 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.5523, allocations: 1.091 MB / 0.5937 GB, free: 25.02 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.00785/0.5602, allocations: 3.6 MB / 0.5972 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008714/0.5689, allocations: 2.525 MB / 0.5997 GB, free: 21.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.571, allocations: 0.7793 MB / 0.6004 GB, free: 21.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.5711, allocations: 13.55 kB / 0.6004 GB, free: 21.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.5712, allocations: 47.84 kB / 0.6005 GB, free: 21.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 4.388e-06/0.5712, allocations: 0 / 0.6005 GB, free: 21.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04441/0.6156, allocations: 9.394 MB / 0.6096 GB, free: 19.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.6157, allocations: 88.55 kB / 0.6097 GB, free: 19.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.6176, allocations: 0.9071 MB / 0.6106 GB, free: 19.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.6179, allocations: 42.23 kB / 0.6107 GB, free: 19.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.6184, allocations: 467.5 kB / 0.6111 GB, free: 18.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004664/0.6189, allocations: 341.5 kB / 0.6114 GB, free: 18.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/0.6193, allocations: 172.1 kB / 0.6116 GB, free: 18.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6194, allocations: 341.7 kB / 0.6119 GB, free: 17.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.621, allocations: 0.6777 MB / 0.6126 GB, free: 17.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.6226, allocations: 0.8265 MB / 0.6134 GB, free: 17.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.6262, allocations: 1.522 MB / 0.6149 GB, free: 16.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.6262, allocations: 5.281 kB / 0.6149 GB, free: 16.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01556/0.6418, allocations: 4.541 MB / 0.6193 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.6419, allocations: 8 kB / 0.6193 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.6419, allocations: 7.938 kB / 0.6193 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007514/0.6494, allocations: 2.349 MB / 0.6216 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/0.6502, allocations: 135.8 kB / 0.6217 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02785/0.6781, allocations: 11.35 MB / 0.6328 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.6804, allocations: 163 kB / 0.633 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.6805, allocations: 39.98 kB / 0.633 GB, free: 14.95 MB / 446.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000622/0.6811, allocations: 234.7 kB / 0.6333 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.6814, allocations: 114.6 kB / 0.6334 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.6972, allocations: 4.44 MB / 0.6377 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.6973, allocations: 8 kB / 0.6377 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6973, allocations: 4 kB / 0.6377 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.6973, allocations: 7.922 kB / 0.6377 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.7158, allocations: 6.074 MB / 0.6436 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.7159, allocations: 0 / 0.6436 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.7164, allocations: 91.89 kB / 0.6437 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00788/0.7243, allocations: 2.173 MB / 0.6459 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/0.7244, allocations: 16 kB / 0.6459 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02825/0.7526, allocations: 9.954 MB / 0.6556 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7527, allocations: 7.938 kB / 0.6556 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/0.7714, allocations: 5.506 MB / 0.661 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.7721, allocations: 207.5 kB / 0.6612 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/0.7725, allocations: 16 kB / 0.6612 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.774, allocations: 107.9 kB / 0.6613 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008158/0.7749, allocations: 229.1 kB / 0.6615 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/0.775, allocations: 32.05 kB / 0.6615 GB, free: 1.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.7762, allocations: 0.6265 MB / 0.6622 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7762, allocations: 4 kB / 0.6622 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001853/0.778, allocations: 459.5 kB / 0.6626 GB, free: 300 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01934/0.7974, allocations: 6.077 MB / 0.6685 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009047/0.8065, allocations: 2.592 MB / 0.6711 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8065, allocations: 0 / 0.6711 GB, free: 7.578 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006415/0.8129, allocations: 1.768 MB / 0.6728 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.8146, allocations: 100.2 kB / 0.6729 GB, free: 5.691 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05054/0.8651, allocations: 16.75 MB / 0.6892 GB, free: 4.539 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.8664, allocations: 1.092 MB / 0.6903 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005942/0.867, allocations: 86.97 kB / 0.6904 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009237/0.868, allocations: 427.3 kB / 0.6908 GB, free: 2.906 MB / 494.1 MB Notification: Performance of SimCode: time 2.224e-06/0.868, allocations: 0 / 0.6908 GB, free: 2.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09753/0.9655, allocations: 38.12 MB / 0.728 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.86, allocations: 8.438 kB / 0.728 GB, free: 12.88 MB / 0.5294 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/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)