Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08829/0.08829, allocations: 12.6 MB / 28.1 MB, free: 240 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 195.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.5 MB / 419.2 MB, free: 11.34 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003321/0.003321, allocations: 135.8 kB / 499.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3476, allocations: 68.12 MB / 0.5546 GB, free: 32.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.00776/0.3554, allocations: 7.04 MB / 0.5614 GB, free: 27.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005742/0.3612, allocations: 2.184 MB / 0.5636 GB, free: 25.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.363, allocations: 10.12 kB / 0.5636 GB, free: 25.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008757/0.3639, allocations: 268.9 kB / 0.5638 GB, free: 25.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.3674, allocations: 1.143 MB / 0.565 GB, free: 24.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3687, allocations: 0.5778 MB / 0.5655 GB, free: 24.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.3715, allocations: 1.88 MB / 0.5674 GB, free: 23.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.3721, allocations: 324.7 kB / 0.5677 GB, free: 22.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.3735, allocations: 0.7251 MB / 0.5684 GB, free: 22.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.3747, allocations: 0.9463 MB / 0.5693 GB, free: 21.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.3751, allocations: 136 kB / 0.5694 GB, free: 21.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3761, allocations: 355.1 kB / 0.5698 GB, free: 21.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.3765, allocations: 366 kB / 0.5701 GB, free: 21.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.3773, allocations: 0.7478 MB / 0.5708 GB, free: 20.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.3795, allocations: 1.849 MB / 0.5727 GB, free: 19.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3795, allocations: 5.375 kB / 0.5727 GB, free: 19.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3795, allocations: 0 / 0.5727 GB, free: 19.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.289e-05/0.3796, allocations: 0 / 0.5727 GB, free: 19.4 MB / 398.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.01459/0.3942, allocations: 3.58 MB / 0.5762 GB, free: 17.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3942, allocations: 11.98 kB / 0.5762 GB, free: 17.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.3986, allocations: 0.7085 MB / 0.5769 GB, free: 16.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3999, allocations: 0.895 MB / 0.5777 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.4002, allocations: 361.5 kB / 0.5781 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.4004, allocations: 88 kB / 0.5782 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.4025, allocations: 1.215 MB / 0.5793 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4025, allocations: 4 kB / 0.5794 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.4026, allocations: 32 kB / 0.5794 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4027, allocations: 20 kB / 0.5794 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.4048, allocations: 1.156 MB / 0.5805 GB, free: 12.71 MB / 398.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.00614/0.411, allocations: 4.083 MB / 0.5845 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/0.4178, allocations: 2.655 MB / 0.5871 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.4195, allocations: 0.825 MB / 0.5879 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.4196, allocations: 13 kB / 0.5879 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.4197, allocations: 43.56 kB / 0.588 GB, free: 4.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.385e-06/0.4197, allocations: 0 / 0.588 GB, free: 4.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=107): time 0.03859/0.4583, allocations: 9.726 MB / 0.5975 GB, free: 10.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.4584, allocations: 90.11 kB / 0.5976 GB, free: 10.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.46, allocations: 1.081 MB / 0.5986 GB, free: 9.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.4603, allocations: 45.7 kB / 0.5987 GB, free: 9.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.4607, allocations: 0.4973 MB / 0.5991 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.4611, allocations: 386.4 kB / 0.5995 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000526/0.4616, allocations: 287.3 kB / 0.5998 GB, free: 8.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.4617, allocations: 301.1 kB / 0.6001 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.4635, allocations: 0.8433 MB / 0.6009 GB, free: 7.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.4655, allocations: 1.026 MB / 0.6019 GB, free: 6.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/0.4692, allocations: 1.867 MB / 0.6037 GB, free: 4.441 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4692, allocations: 0 / 0.6037 GB, free: 4.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01258/0.4818, allocations: 4.252 MB / 0.6079 GB, free: 176 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4818, allocations: 8 kB / 0.6079 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4818, allocations: 4 kB / 0.6079 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008495/0.4903, allocations: 2.365 MB / 0.6102 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.4915, allocations: 231.7 kB / 0.6104 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.4974, allocations: 2.602 MB / 0.613 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.4994, allocations: 202.5 kB / 0.6131 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.4995, allocations: 55.98 kB / 0.6132 GB, free: 10.68 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.0004911/0.5, allocations: 254.1 kB / 0.6134 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.5003, allocations: 138.2 kB / 0.6136 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/0.516, allocations: 4.617 MB / 0.6181 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.516, allocations: 12 kB / 0.6181 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5161, allocations: 3.938 kB / 0.6181 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.107e-05/0.5161, allocations: 7.922 kB / 0.6181 GB, free: 5.617 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.01815/0.5343, allocations: 6.318 MB / 0.6243 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.5343, allocations: 8 kB / 0.6243 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.5351, allocations: 99.89 kB / 0.6244 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007757/0.5428, allocations: 2.153 MB / 0.6265 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/0.5431, allocations: 24 kB / 0.6265 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02563/0.5688, allocations: 10.05 MB / 0.6363 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5688, allocations: 3.984 kB / 0.6363 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/0.5866, allocations: 5.659 MB / 0.6419 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.5872, allocations: 227.2 kB / 0.6421 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.5875, allocations: 24 kB / 0.6421 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.5888, allocations: 107.9 kB / 0.6422 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007434/0.5895, allocations: 245 kB / 0.6424 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.5896, allocations: 27.98 kB / 0.6425 GB, free: 12.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009602/0.5906, allocations: 0.7325 MB / 0.6432 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5906, allocations: 0 / 0.6432 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001369/0.592, allocations: 471.4 kB / 0.6436 GB, free: 11.15 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.0003335/0.5923, allocations: 139.2 kB / 0.6438 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00823/0.6005, allocations: 2.579 MB / 0.6463 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6006, allocations: 0 / 0.6463 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006018/0.6066, allocations: 1.824 MB / 0.6481 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.6079, allocations: 108.6 kB / 0.6482 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.6125, allocations: 2.503 MB / 0.6506 GB, free: 3.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/0.6134, allocations: 1.113 MB / 0.6517 GB, free: 2.816 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007366/0.6141, allocations: 112.2 kB / 0.6518 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.6145, allocations: 75.42 kB / 0.6519 GB, free: 2.633 MB / 462.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6145, allocations: 0 / 0.6519 GB, free: 2.633 MB / 462.1 MB Notification: Performance of Templates: time 0.04176/0.6563, allocations: 26.17 MB / 0.6774 GB, free: 8.465 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)