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.001207/0.001207, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.412/1.412, allocations: 222.9 MB / 239 MB, free: 4.727 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.001486/0.001486, allocations: 200.4 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5667/0.5667, allocations: 91.89 MB / 431.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 79.88 kB / 0.5015 GB, free: 7.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4315, allocations: 71.26 MB / 0.5711 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.006919/0.4385, allocations: 7.377 MB / 0.5783 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.4432, allocations: 2.244 MB / 0.5805 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.4444, allocations: 12.91 kB / 0.5805 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.4451, allocations: 214.1 kB / 0.5807 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.4474, allocations: 0.817 MB / 0.5815 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.4487, allocations: 0.6161 MB / 0.5821 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.4506, allocations: 1.721 MB / 0.5838 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.451, allocations: 334.4 kB / 0.5841 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.4518, allocations: 0.7019 MB / 0.5848 GB, free: 28.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.4526, allocations: 0.9247 MB / 0.5857 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.4528, allocations: 140.9 kB / 0.5858 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.4535, allocations: 357.4 kB / 0.5862 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.4538, allocations: 366.6 kB / 0.5865 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000601/0.4544, allocations: 0.7411 MB / 0.5872 GB, free: 27.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.4562, allocations: 1.836 MB / 0.589 GB, free: 26.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4562, allocations: 0 / 0.589 GB, free: 26.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4563, allocations: 4 kB / 0.589 GB, free: 26.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.4563, allocations: 0 / 0.589 GB, free: 26.36 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.01199/0.4683, allocations: 3.227 MB / 0.5922 GB, free: 25.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.4684, allocations: 9.781 kB / 0.5922 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/0.4686, allocations: 133.9 kB / 0.5923 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.4731, allocations: 0.7118 MB / 0.593 GB, free: 24.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.4749, allocations: 0.9039 MB / 0.5939 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.4753, allocations: 352.3 kB / 0.5942 GB, free: 23.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.4755, allocations: 98.03 kB / 0.5943 GB, free: 23.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.478, allocations: 1.213 MB / 0.5955 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.4781, allocations: 0 / 0.5955 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.4782, allocations: 30.44 kB / 0.5955 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4782, allocations: 19 kB / 0.5956 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.4808, allocations: 1.157 MB / 0.5967 GB, free: 22.96 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.007643/0.4884, allocations: 4.084 MB / 0.6007 GB, free: 20.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008208/0.4966, allocations: 2.638 MB / 0.6033 GB, free: 19.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.4988, allocations: 0.8297 MB / 0.6041 GB, free: 19.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.4989, allocations: 19.33 kB / 0.6041 GB, free: 19.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.499, allocations: 44.39 kB / 0.6041 GB, free: 19.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.687e-06/0.499, allocations: 0 / 0.6041 GB, free: 19.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04349/0.5425, allocations: 9.722 MB / 0.6136 GB, free: 16.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.5426, allocations: 88.7 kB / 0.6137 GB, free: 16.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.5445, allocations: 1.085 MB / 0.6148 GB, free: 16.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003443/0.5448, allocations: 50.48 kB / 0.6148 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.5452, allocations: 0.4895 MB / 0.6153 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.5456, allocations: 396.2 kB / 0.6157 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.5461, allocations: 277.3 kB / 0.6159 GB, free: 15.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.5462, allocations: 306.1 kB / 0.6162 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.5481, allocations: 0.8452 MB / 0.617 GB, free: 14.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.55, allocations: 1.022 MB / 0.618 GB, free: 13.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.5534, allocations: 1.871 MB / 0.6199 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.5535, allocations: 8 kB / 0.6199 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01148/0.565, allocations: 4.244 MB / 0.624 GB, free: 7.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.565, allocations: 4 kB / 0.624 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5651, allocations: 4 kB / 0.624 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007749/0.5728, allocations: 2.365 MB / 0.6263 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5741, allocations: 239.6 kB / 0.6266 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.5796, allocations: 2.598 MB / 0.6291 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.5819, allocations: 206.5 kB / 0.6293 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5821, allocations: 55.97 kB / 0.6294 GB, free: 2.445 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.0005639/0.5827, allocations: 259.2 kB / 0.6296 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.5829, allocations: 134.2 kB / 0.6297 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/0.5981, allocations: 4.621 MB / 0.6342 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.5982, allocations: 8 kB / 0.6343 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.5982, allocations: 4 kB / 0.6343 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.5982, allocations: 7.922 kB / 0.6343 GB, free: 13.39 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.01943/0.6177, allocations: 6.322 MB / 0.6404 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.6177, allocations: 0 / 0.6404 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.6185, allocations: 103.9 kB / 0.6405 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007579/0.6261, allocations: 2.149 MB / 0.6426 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.6263, allocations: 27.88 kB / 0.6427 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/0.6526, allocations: 10.04 MB / 0.6525 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6527, allocations: 0 / 0.6525 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/0.6711, allocations: 5.674 MB / 0.658 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007586/0.672, allocations: 235.2 kB / 0.6582 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.6722, allocations: 19.98 kB / 0.6583 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.6736, allocations: 111.9 kB / 0.6584 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008764/0.6745, allocations: 245 kB / 0.6586 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6746, allocations: 31.94 kB / 0.6586 GB, free: 4.109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.6757, allocations: 0.7248 MB / 0.6593 GB, free: 3.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6757, allocations: 0 / 0.6593 GB, free: 3.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001503/0.6772, allocations: 467.5 kB / 0.6598 GB, free: 2.922 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.01854/0.6958, allocations: 6.26 MB / 0.6659 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008819/0.7046, allocations: 2.576 MB / 0.6684 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7047, allocations: 0 / 0.6684 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006264/0.711, allocations: 1.8 MB / 0.6702 GB, free: 8.234 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.7125, allocations: 112.5 kB / 0.6703 GB, free: 8.125 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04174/0.7542, allocations: 17.51 MB / 0.6874 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/0.7551, allocations: 1.117 MB / 0.6885 GB, free: 5.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.7557, allocations: 112.2 kB / 0.6886 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/0.7563, allocations: 495.3 kB / 0.689 GB, free: 4.422 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7563, allocations: 0 / 0.689 GB, free: 4.422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08216/0.8385, allocations: 35.54 MB / 0.7237 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.8388, allocations: 211.5 kB / 0.724 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/3.956, allocations: 4 kB / 0.724 GB, free: 0.7773 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)