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.0009453/0.0009453, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.303/1.303, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001344/0.001344, allocations: 181.1 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4742/0.4742, allocations: 79.46 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 12 kB / 0.4891 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4135, allocations: 69.51 MB / 0.557 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.005255/0.4188, allocations: 6.116 MB / 0.5629 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.4227, allocations: 2.171 MB / 0.5651 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004622/0.4232, allocations: 11.5 kB / 0.5651 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.4236, allocations: 194.2 kB / 0.5653 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.4255, allocations: 0.8252 MB / 0.5661 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4265, allocations: 0.5627 MB / 0.5666 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.4278, allocations: 1.101 MB / 0.5677 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.4282, allocations: 262.1 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.4287, allocations: 0.6087 MB / 0.5685 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.4294, allocations: 0.8146 MB / 0.5693 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.4296, allocations: 73.66 kB / 0.5694 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.4301, allocations: 271.8 kB / 0.5697 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.4303, allocations: 285.6 kB / 0.5699 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.4305, allocations: 245.7 kB / 0.5702 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009454/0.4315, allocations: 1.316 MB / 0.5714 GB, free: 34.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4315, allocations: 2.406 kB / 0.5714 GB, free: 34.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4315, allocations: 1 kB / 0.5714 GB, free: 34.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.4315, allocations: 0 / 0.5714 GB, free: 34.86 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.009784/0.4413, allocations: 3.069 MB / 0.5744 GB, free: 33.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4413, allocations: 8.844 kB / 0.5745 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.4416, allocations: 136.5 kB / 0.5746 GB, free: 33.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.4457, allocations: 0.7141 MB / 0.5753 GB, free: 33.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.447, allocations: 0.8574 MB / 0.5761 GB, free: 32.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.4473, allocations: 363.4 kB / 0.5765 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.4474, allocations: 93.38 kB / 0.5766 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.4496, allocations: 1.281 MB / 0.5778 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.4496, allocations: 0 / 0.5778 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.4497, allocations: 36.36 kB / 0.5778 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4498, allocations: 21.53 kB / 0.5779 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.452, allocations: 1.235 MB / 0.5791 GB, free: 31.71 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.00595/0.4579, allocations: 4.283 MB / 0.5832 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007545/0.4655, allocations: 3.211 MB / 0.5864 GB, free: 28.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.4656, allocations: 16.53 kB / 0.5864 GB, free: 28.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.4657, allocations: 43.47 kB / 0.5864 GB, free: 28.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 2.445e-06/0.4657, allocations: 0 / 0.5864 GB, free: 28.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04259/0.5083, allocations: 11.88 MB / 0.598 GB, free: 26.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.5084, allocations: 93.14 kB / 0.5981 GB, free: 26.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.5103, allocations: 1.072 MB / 0.5992 GB, free: 25.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002897/0.5106, allocations: 46.11 kB / 0.5992 GB, free: 25.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.5111, allocations: 0.4907 MB / 0.5997 GB, free: 25.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/0.5117, allocations: 392.5 kB / 0.6001 GB, free: 24.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.5119, allocations: 29.5 kB / 0.6001 GB, free: 24.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5121, allocations: 363 kB / 0.6005 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.5142, allocations: 0.9234 MB / 0.6014 GB, free: 24.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.5165, allocations: 1.098 MB / 0.6024 GB, free: 23.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.5187, allocations: 0.991 MB / 0.6034 GB, free: 23.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.5187, allocations: 1.094 kB / 0.6034 GB, free: 23.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01883/0.5375, allocations: 6.08 MB / 0.6093 GB, free: 21.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.5376, allocations: 6.875 kB / 0.6093 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5376, allocations: 2.75 kB / 0.6093 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008793/0.5464, allocations: 2.744 MB / 0.612 GB, free: 20.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.5477, allocations: 239.6 kB / 0.6122 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/0.5538, allocations: 2.904 MB / 0.6151 GB, free: 17.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.5562, allocations: 248.2 kB / 0.6153 GB, free: 16.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.5565, allocations: 55.98 kB / 0.6154 GB, free: 16.73 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 (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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007195/0.5572, allocations: 258.1 kB / 0.6156 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004674/0.5577, allocations: 130.4 kB / 0.6157 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.5727, allocations: 5.653 MB / 0.6213 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5728, allocations: 19.94 kB / 0.6213 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5728, allocations: 3.953 kB / 0.6213 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.5728, allocations: 7.969 kB / 0.6213 GB, free: 10.64 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.01699/0.5898, allocations: 7.359 MB / 0.6285 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.5899, allocations: 0 / 0.6285 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.5906, allocations: 111.8 kB / 0.6286 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007337/0.5979, allocations: 2.514 MB / 0.631 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/0.5983, allocations: 23.98 kB / 0.6311 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02804/0.6264, allocations: 10.87 MB / 0.6417 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6264, allocations: 0 / 0.6417 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/0.6455, allocations: 6.798 MB / 0.6483 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.6462, allocations: 235.1 kB / 0.6485 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005205/0.6467, allocations: 20.77 kB / 0.6486 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.6484, allocations: 153.8 kB / 0.6487 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008014/0.6492, allocations: 241 kB / 0.6489 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.6494, allocations: 28 kB / 0.649 GB, free: 13.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001215/0.6506, allocations: 0.7131 MB / 0.6497 GB, free: 13.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6506, allocations: 4 kB / 0.6497 GB, free: 13.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001962/0.6526, allocations: 471.5 kB / 0.6501 GB, free: 12.8 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 (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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01908/0.6717, allocations: 7.462 MB / 0.6574 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008659/0.6804, allocations: 2.871 MB / 0.6602 GB, free: 2.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6804, allocations: 0 / 0.6602 GB, free: 2.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006348/0.6868, allocations: 2.051 MB / 0.6622 GB, free: 380 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.6881, allocations: 92.59 kB / 0.6623 GB, free: 284 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008049/0.6962, allocations: 5.656 MB / 0.6678 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.697, allocations: 1.148 MB / 0.6689 GB, free: 9.406 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00054/0.6976, allocations: 107.1 kB / 0.669 GB, free: 9.301 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/0.6984, allocations: 487.3 kB / 0.6695 GB, free: 8.824 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6984, allocations: 0 / 0.6695 GB, free: 8.824 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/0.7621, allocations: 32.54 MB / 0.7013 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.7623, allocations: 203 kB / 0.7015 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.537, allocations: 0 / 0.7015 GB, free: 8.359 MB / 0.4981 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/linux/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) Environment - environmentSimulation: