Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07819/0.07819, allocations: 12.2 MB / 27.98 MB, free: 0.9531 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 107.5 kB / 31.48 MB, free: 4.48 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.334/1.334, allocations: 205.1 MB / 240 MB, free: 12.98 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.001178/0.001177, allocations: 192.5 kB / 290.1 MB, free: 11.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4101/0.4101, allocations: 78.49 MB / 418.6 MB, free: 11.56 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.002179/0.002179, allocations: 127.8 kB / 498.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3045, allocations: 68.04 MB / 0.5536 GB, free: 22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.009667/0.3142, allocations: 15.8 MB / 0.569 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008268/0.3225, allocations: 4.702 MB / 0.5736 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/0.3262, allocations: 32 kB / 0.5737 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.3287, allocations: 0.616 MB / 0.5743 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007043/0.3358, allocations: 2.179 MB / 0.5764 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.339, allocations: 1.238 MB / 0.5776 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006259/0.3453, allocations: 4.618 MB / 0.5821 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.3464, allocations: 0.7039 MB / 0.5828 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.3488, allocations: 1.664 MB / 0.5844 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.3509, allocations: 2.263 MB / 0.5866 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.3514, allocations: 216 kB / 0.5868 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.3523, allocations: 439.7 kB / 0.5873 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.3529, allocations: 0.7853 MB / 0.588 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.3544, allocations: 1.806 MB / 0.5898 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.3575, allocations: 4.173 MB / 0.5939 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3576, allocations: 0 / 0.5939 GB, free: 12.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3576, allocations: 4 kB / 0.5939 GB, free: 12.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.889e-05/0.3576, allocations: 0 / 0.5939 GB, free: 12.63 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03573/0.3934, allocations: 9.515 MB / 0.6032 GB, free: 3.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3934, allocations: 15.98 kB / 0.6032 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.4039, allocations: 1.747 MB / 0.6049 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/0.4082, allocations: 2.175 MB / 0.607 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006595/0.4088, allocations: 0.6663 MB / 0.6077 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005812/0.4094, allocations: 247.8 kB / 0.6079 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005461/0.4149, allocations: 2.682 MB / 0.6105 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.415, allocations: 0 / 0.6105 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.4152, allocations: 76 kB / 0.6106 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.4152, allocations: 48 kB / 0.6106 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005668/0.4209, allocations: 2.834 MB / 0.6134 GB, free: 8.383 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.0189/0.4398, allocations: 11.05 MB / 0.6242 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.4509, allocations: 4.967 MB / 0.629 GB, free: 7.609 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004038/0.455, allocations: 1.927 MB / 0.6309 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.4554, allocations: 49.94 kB / 0.631 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.4554, allocations: 56.56 kB / 0.631 GB, free: 5.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.4554, allocations: 4 kB / 0.631 GB, free: 5.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1192/0.5746, allocations: 29.56 MB / 0.6599 GB, free: 7.938 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.5747, allocations: 77.41 kB / 0.66 GB, free: 7.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.5788, allocations: 2.902 MB / 0.6628 GB, free: 4.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008893/0.5797, allocations: 89.69 kB / 0.6629 GB, free: 4.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009282/0.5807, allocations: 1.253 MB / 0.6641 GB, free: 3.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/0.5819, allocations: 0.8975 MB / 0.665 GB, free: 2.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.5833, allocations: 0.7521 MB / 0.6657 GB, free: 1.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5834, allocations: 301.1 kB / 0.666 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004448/0.5878, allocations: 2.284 MB / 0.6682 GB, free: 15.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004644/0.5925, allocations: 2.677 MB / 0.6709 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00905/0.6015, allocations: 4.855 MB / 0.6756 GB, free: 7.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.6016, allocations: 11.88 kB / 0.6756 GB, free: 7.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01449/0.6161, allocations: 7.224 MB / 0.6827 GB, free: 372 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.6161, allocations: 8 kB / 0.6827 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6162, allocations: 4 kB / 0.6827 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2685/0.8847, allocations: 5.73 MB / 0.6883 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/0.8881, allocations: 0.6634 MB / 0.6889 GB, free: 110.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.9011, allocations: 5.443 MB / 0.6942 GB, free: 109.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/0.9054, allocations: 0.511 MB / 0.6947 GB, free: 109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002883/0.9057, allocations: 136.9 kB / 0.6949 GB, free: 109 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.001071/0.9068, allocations: 0.5242 MB / 0.6954 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/0.9073, allocations: 331.9 kB / 0.6957 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02933/0.9366, allocations: 10.53 MB / 0.706 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.9367, allocations: 23.06 kB / 0.706 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9367, allocations: 0 / 0.706 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.9367, allocations: 15.61 kB / 0.706 GB, free: 106.2 MB / 494.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.03252/0.9693, allocations: 14.66 MB / 0.7203 GB, free: 92.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.9693, allocations: 0 / 0.7203 GB, free: 92.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.9706, allocations: 259.6 kB / 0.7206 GB, free: 92.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/0.9839, allocations: 4.765 MB / 0.7252 GB, free: 87.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.9841, allocations: 48 kB / 0.7253 GB, free: 87.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04278/1.027, allocations: 19.61 MB / 0.7444 GB, free: 67.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.027, allocations: 0 / 0.7444 GB, free: 67.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.034/1.061, allocations: 12.82 MB / 0.7569 GB, free: 54.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.062, allocations: 496.5 kB / 0.7574 GB, free: 54.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008502/1.063, allocations: 47.98 kB / 0.7574 GB, free: 54.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.066, allocations: 247.7 kB / 0.7577 GB, free: 54.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001608/1.067, allocations: 0.506 MB / 0.7582 GB, free: 53.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.068, allocations: 60 kB / 0.7582 GB, free: 53.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002038/1.07, allocations: 1.881 MB / 0.7601 GB, free: 51.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.07, allocations: 0 / 0.7601 GB, free: 51.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002458/1.072, allocations: 1.126 MB / 0.7612 GB, free: 50.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/1.072, allocations: 188.5 kB / 0.7614 GB, free: 50.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01394/1.086, allocations: 6.087 MB / 0.7673 GB, free: 44.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.086, allocations: 0 / 0.7673 GB, free: 44.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009297/1.096, allocations: 3.703 MB / 0.7709 GB, free: 40.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.098, allocations: 270.4 kB / 0.7712 GB, free: 40.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/1.107, allocations: 7.523 MB / 0.7785 GB, free: 32.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/1.108, allocations: 1.845 MB / 0.7803 GB, free: 30.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/1.109, allocations: 191.4 kB / 0.7805 GB, free: 30.61 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/1.109, allocations: 4 kB / 0.7805 GB, free: 30.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05607/1.165, allocations: 55.32 MB / 0.8345 GB, free: 7.242 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSECalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSECalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSECalcHelperMain.o] Error 1