Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.418/1.418, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001642/0.001642, allocations: 188.5 kB / 289.2 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5295/0.5295, allocations: 91.9 MB / 431.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002603, allocations: 79.88 kB / 0.5013 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.418, allocations: 71.25 MB / 0.5709 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.00611/0.4242, allocations: 7.367 MB / 0.5781 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004268/0.4285, allocations: 2.27 MB / 0.5803 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.4293, allocations: 10.72 kB / 0.5803 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.4299, allocations: 223.4 kB / 0.5805 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.4319, allocations: 0.8202 MB / 0.5813 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.4332, allocations: 0.6116 MB / 0.5819 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.4347, allocations: 1.651 MB / 0.5835 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.4351, allocations: 289.9 kB / 0.5838 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.4357, allocations: 0.6474 MB / 0.5845 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007529/0.4364, allocations: 0.8837 MB / 0.5853 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.4366, allocations: 84.81 kB / 0.5854 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.4373, allocations: 298.4 kB / 0.5857 GB, free: 28.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.4376, allocations: 310.5 kB / 0.586 GB, free: 27.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.4382, allocations: 0.6912 MB / 0.5867 GB, free: 27.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.4398, allocations: 1.79 MB / 0.5884 GB, free: 26.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4398, allocations: 0 / 0.5884 GB, free: 26.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4399, allocations: 1.094 kB / 0.5884 GB, free: 26.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.4399, allocations: 0 / 0.5884 GB, free: 26.69 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01198/0.4519, allocations: 3.23 MB / 0.5916 GB, free: 25.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.4519, allocations: 10.03 kB / 0.5916 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/0.4522, allocations: 132.4 kB / 0.5917 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.4567, allocations: 0.7098 MB / 0.5924 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.4583, allocations: 0.9002 MB / 0.5933 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.4587, allocations: 362.4 kB / 0.5936 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.4589, allocations: 89.97 kB / 0.5937 GB, free: 24.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.4615, allocations: 1.205 MB / 0.5949 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.4616, allocations: 7.984 kB / 0.5949 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.4617, allocations: 34.59 kB / 0.5949 GB, free: 23.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.4617, allocations: 22.39 kB / 0.5949 GB, free: 23.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.4646, allocations: 1.152 MB / 0.5961 GB, free: 23.29 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.00797/0.4725, allocations: 4.083 MB / 0.6001 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007969/0.4805, allocations: 2.637 MB / 0.6026 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.4826, allocations: 0.8266 MB / 0.6034 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.4828, allocations: 21.66 kB / 0.6035 GB, free: 19.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4828, allocations: 44.72 kB / 0.6035 GB, free: 19.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.656e-06/0.4828, allocations: 9.531 kB / 0.6035 GB, free: 19.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04114/0.5239, allocations: 9.718 MB / 0.613 GB, free: 17.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.524, allocations: 88.95 kB / 0.6131 GB, free: 16.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.5258, allocations: 1.082 MB / 0.6141 GB, free: 16.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.5262, allocations: 46.17 kB / 0.6142 GB, free: 16.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.5265, allocations: 0.5021 MB / 0.6147 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.5269, allocations: 391.4 kB / 0.615 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000531/0.5275, allocations: 273.8 kB / 0.6153 GB, free: 15.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.5275, allocations: 306.6 kB / 0.6156 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.5294, allocations: 0.8413 MB / 0.6164 GB, free: 14.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5313, allocations: 1.032 MB / 0.6174 GB, free: 14.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/0.5348, allocations: 1.87 MB / 0.6193 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5348, allocations: 0 / 0.6193 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.011/0.5458, allocations: 4.248 MB / 0.6234 GB, free: 8.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5459, allocations: 8 kB / 0.6234 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5459, allocations: 0 / 0.6234 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007377/0.5533, allocations: 2.365 MB / 0.6257 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.5544, allocations: 239.6 kB / 0.6259 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/0.5596, allocations: 2.594 MB / 0.6285 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.5615, allocations: 206.5 kB / 0.6287 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.5616, allocations: 51.98 kB / 0.6287 GB, free: 2.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004951/0.5621, allocations: 267.2 kB / 0.629 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.5623, allocations: 138.2 kB / 0.6291 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/0.577, allocations: 4.606 MB / 0.6336 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.5771, allocations: 12 kB / 0.6336 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5771, allocations: 0 / 0.6336 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/0.5771, allocations: 11.97 kB / 0.6336 GB, free: 13.91 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01895/0.5961, allocations: 6.326 MB / 0.6398 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.5961, allocations: 0 / 0.6398 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.5969, allocations: 103.9 kB / 0.6399 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007833/0.6048, allocations: 2.142 MB / 0.642 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/0.6051, allocations: 23.98 kB / 0.642 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02607/0.6312, allocations: 9.163 MB / 0.651 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6313, allocations: 0 / 0.651 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01839/0.6497, allocations: 5.682 MB / 0.6565 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.6505, allocations: 227.2 kB / 0.6567 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/0.6512, allocations: 20 kB / 0.6568 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.653, allocations: 103.9 kB / 0.6569 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/0.654, allocations: 241 kB / 0.6571 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.6542, allocations: 24 kB / 0.6571 GB, free: 5.547 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001421/0.6557, allocations: 0.7287 MB / 0.6578 GB, free: 4.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6557, allocations: 0 / 0.6578 GB, free: 4.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002207/0.6579, allocations: 471.5 kB / 0.6583 GB, free: 4.352 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,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 (64): * Single equations (assignments): 63 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01922/0.6771, allocations: 6.265 MB / 0.6644 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009182/0.6864, allocations: 2.518 MB / 0.6668 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6864, allocations: 0 / 0.6668 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006321/0.6928, allocations: 1.763 MB / 0.6686 GB, free: 9.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6949, allocations: 120.5 kB / 0.6687 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/0.7408, allocations: 17.5 MB / 0.6858 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.7419, allocations: 1.117 MB / 0.6869 GB, free: 6.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007382/0.7427, allocations: 108.2 kB / 0.687 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009776/0.7437, allocations: 483.3 kB / 0.6874 GB, free: 5.961 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7437, allocations: 0 / 0.6874 GB, free: 5.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/0.8119, allocations: 33.96 MB / 0.7206 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.8122, allocations: 208.7 kB / 0.7208 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.623, allocations: 7.938 kB / 0.7208 GB, free: 3.863 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)