Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_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.001238/0.001238, 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.507/1.507, allocations: 222.9 MB / 239.3 MB, free: 4.648 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.00193/0.001929, allocations: 196.4 kB / 289.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5291/0.5291, allocations: 78.53 MB / 418.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 83.86 kB / 497.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1871, allocations: 68.18 MB / 0.5525 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.3499/0.5371, allocations: 6.994 MB / 0.5593 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.542, allocations: 2.199 MB / 0.5614 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007641/0.5428, allocations: 10.78 kB / 0.5615 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.5436, allocations: 277 kB / 0.5617 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.5461, allocations: 1.142 MB / 0.5628 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.5473, allocations: 0.5646 MB / 0.5634 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.5495, allocations: 1.887 MB / 0.5652 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004704/0.5499, allocations: 317.2 kB / 0.5655 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009142/0.5509, allocations: 0.7203 MB / 0.5662 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.5519, allocations: 0.9504 MB / 0.5672 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.5521, allocations: 137.5 kB / 0.5673 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.5528, allocations: 360 kB / 0.5676 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.5531, allocations: 364.8 kB / 0.568 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005433/0.5536, allocations: 0.7463 MB / 0.5687 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.5553, allocations: 1.854 MB / 0.5705 GB, free: 33.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5553, allocations: 2.938 kB / 0.5705 GB, free: 33.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5553, allocations: 0 / 0.5705 GB, free: 33.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.5553, allocations: 0 / 0.5705 GB, free: 33.29 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.01266/0.568, allocations: 3.58 MB / 0.574 GB, free: 32.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.568, allocations: 8.406 kB / 0.574 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.5682, allocations: 128.1 kB / 0.5742 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.5724, allocations: 0.7185 MB / 0.5749 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.5736, allocations: 0.895 MB / 0.5757 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/0.574, allocations: 359.5 kB / 0.5761 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.5741, allocations: 96.14 kB / 0.5762 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.5764, allocations: 1.205 MB / 0.5773 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5764, allocations: 6.844 kB / 0.5774 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5765, allocations: 33.33 kB / 0.5774 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.5766, allocations: 21.31 kB / 0.5774 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.5788, allocations: 1.159 MB / 0.5785 GB, free: 31.32 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.006374/0.5852, allocations: 4.082 MB / 0.5825 GB, free: 28.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.593, allocations: 2.643 MB / 0.5851 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.5947, allocations: 0.8177 MB / 0.5859 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.5948, allocations: 19.58 kB / 0.5859 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.5949, allocations: 47.81 kB / 0.586 GB, free: 27.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 5.24e-06/0.5949, allocations: 1.688 kB / 0.586 GB, free: 27.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04402/0.6389, allocations: 9.713 MB / 0.5955 GB, free: 25.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.639, allocations: 88.5 kB / 0.5955 GB, free: 25.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.6408, allocations: 1.088 MB / 0.5966 GB, free: 25.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002765/0.6411, allocations: 50.45 kB / 0.5966 GB, free: 25.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.6415, allocations: 0.4902 MB / 0.5971 GB, free: 24.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.642, allocations: 396.7 kB / 0.5975 GB, free: 24.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006046/0.6426, allocations: 279.4 kB / 0.5978 GB, free: 24.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.6427, allocations: 301.1 kB / 0.5981 GB, free: 24.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.6446, allocations: 0.8443 MB / 0.5989 GB, free: 23.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.6467, allocations: 1.034 MB / 0.5999 GB, free: 23.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.6506, allocations: 1.866 MB / 0.6017 GB, free: 22.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.6507, allocations: 6.484 kB / 0.6017 GB, free: 22.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01376/0.6644, allocations: 4.25 MB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.6645, allocations: 6.469 kB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6645, allocations: 3.094 kB / 0.6059 GB, free: 21.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008822/0.6734, allocations: 2.365 MB / 0.6082 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.6747, allocations: 241.5 kB / 0.6084 GB, free: 20.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/0.6811, allocations: 2.6 MB / 0.611 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.6832, allocations: 202.4 kB / 0.6112 GB, free: 18.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.6834, allocations: 56.86 kB / 0.6112 GB, free: 18.3 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.0006035/0.684, allocations: 255.7 kB / 0.6114 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.6843, allocations: 136.5 kB / 0.6116 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/0.6993, allocations: 4.609 MB / 0.6161 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.6994, allocations: 16 kB / 0.6161 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.6994, allocations: 0.5625 kB / 0.6161 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/0.6994, allocations: 3.984 kB / 0.6161 GB, free: 13.61 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 postOpt removeSimpleEquations (simulation): time 0.01741/0.7168, allocations: 6.326 MB / 0.6223 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/0.7169, allocations: 0 / 0.6223 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.7177, allocations: 109.2 kB / 0.6224 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00747/0.7252, allocations: 2.148 MB / 0.6245 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/0.7254, allocations: 23.94 kB / 0.6245 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/0.7508, allocations: 10.04 MB / 0.6343 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7508, allocations: 0 / 0.6343 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/0.7696, allocations: 5.679 MB / 0.6399 GB, free: 4.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/0.7705, allocations: 231.2 kB / 0.6401 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/0.7711, allocations: 16 kB / 0.6401 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.7729, allocations: 113 kB / 0.6402 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008948/0.7738, allocations: 237.8 kB / 0.6404 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.774, allocations: 33.56 kB / 0.6405 GB, free: 4.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001851/0.7758, allocations: 0.7325 MB / 0.6412 GB, free: 3.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7759, allocations: 0 / 0.6412 GB, free: 3.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002407/0.7783, allocations: 475.5 kB / 0.6416 GB, free: 3.133 MB / 446.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.01955/0.7978, allocations: 6.257 MB / 0.6477 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00937/0.8073, allocations: 2.567 MB / 0.6502 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8073, allocations: 0 / 0.6502 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006304/0.8136, allocations: 1.81 MB / 0.652 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.8154, allocations: 109.5 kB / 0.6521 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04302/0.8584, allocations: 17.09 MB / 0.6688 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.8596, allocations: 1.117 MB / 0.6699 GB, free: 5.715 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.8603, allocations: 116.2 kB / 0.67 GB, free: 5.602 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008407/0.8611, allocations: 492.2 kB / 0.6705 GB, free: 5.121 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8611, allocations: 1.5 kB / 0.6705 GB, free: 5.121 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08422/0.9454, allocations: 36.81 MB / 0.7064 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.93, allocations: 9.562 kB / 0.7064 GB, free: 0.582 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)