Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001296, allocations: 96.14 kB / 15.87 MB, free: 16 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.542/1.542, allocations: 222.9 MB / 239.5 MB, free: 4.777 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.001495/0.001495, allocations: 200.4 kB / 289.8 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5208/0.5208, allocations: 78.52 MB / 418.4 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 79.88 kB / 497.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1796, allocations: 68.18 MB / 0.5523 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.3347/0.5144, allocations: 6.796 MB / 0.559 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004372/0.5188, allocations: 2.003 MB / 0.5609 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.52, allocations: 10.5 kB / 0.5609 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.5209, allocations: 183.4 kB / 0.5611 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.523, allocations: 0.7071 MB / 0.5618 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.5242, allocations: 0.588 MB / 0.5624 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.526, allocations: 1.484 MB / 0.5638 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.5265, allocations: 294.4 kB / 0.5641 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009207/0.5274, allocations: 0.5962 MB / 0.5647 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000743/0.5282, allocations: 0.771 MB / 0.5654 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.5283, allocations: 71.81 kB / 0.5655 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.5289, allocations: 205.1 kB / 0.5657 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.5291, allocations: 284.4 kB / 0.566 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.5297, allocations: 0.6211 MB / 0.5666 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.5307, allocations: 1.258 MB / 0.5678 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5307, allocations: 1.75 kB / 0.5678 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5307, allocations: 0 / 0.5678 GB, free: 34.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.5308, allocations: 1.969 kB / 0.5678 GB, free: 34.04 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008433/0.5392, allocations: 2.692 MB / 0.5704 GB, free: 33.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5393, allocations: 8.438 kB / 0.5704 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/0.544, allocations: 0.7755 MB / 0.5712 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.5455, allocations: 0.8828 MB / 0.5721 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.5458, allocations: 258.8 kB / 0.5723 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.546, allocations: 90.14 kB / 0.5724 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.548, allocations: 1.084 MB / 0.5735 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.548, allocations: 0 / 0.5735 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.5481, allocations: 31.94 kB / 0.5735 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.5481, allocations: 19.59 kB / 0.5735 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.55, allocations: 0.9849 MB / 0.5745 GB, free: 32.27 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.006075/0.5561, allocations: 3.822 MB / 0.5782 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006899/0.563, allocations: 2.369 MB / 0.5805 GB, free: 30.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.5643, allocations: 0.6734 MB / 0.5812 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.5645, allocations: 22.34 kB / 0.5812 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/0.5661, allocations: 0.8088 MB / 0.582 GB, free: 29.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.464e-06/0.5661, allocations: 1.156 kB / 0.582 GB, free: 29.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0308/0.597, allocations: 7.188 MB / 0.589 GB, free: 28.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.5971, allocations: 122.1 kB / 0.5891 GB, free: 28.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.6, allocations: 1.091 MB / 0.5902 GB, free: 27.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003498/0.6003, allocations: 48.14 kB / 0.5902 GB, free: 27.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006224/0.601, allocations: 495 kB / 0.5907 GB, free: 27.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007547/0.6017, allocations: 351.1 kB / 0.591 GB, free: 26.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.6029, allocations: 283.9 kB / 0.5913 GB, free: 26.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.603, allocations: 306.1 kB / 0.5916 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.605, allocations: 0.7556 MB / 0.5923 GB, free: 26.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.6072, allocations: 0.9259 MB / 0.5932 GB, free: 25.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02526/0.6325, allocations: 5.552 MB / 0.5987 GB, free: 24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.6326, allocations: 0.9375 kB / 0.5987 GB, free: 24 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01611/0.6487, allocations: 4.357 MB / 0.6029 GB, free: 22.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/0.6488, allocations: 62.95 kB / 0.603 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.6488, allocations: 8.688 kB / 0.603 GB, free: 22.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/0.6552, allocations: 1.589 MB / 0.6045 GB, free: 22.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.6569, allocations: 276.6 kB / 0.6048 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/0.6765, allocations: 7.841 MB / 0.6125 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.6789, allocations: 202.7 kB / 0.6127 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.6793, allocations: 55.97 kB / 0.6127 GB, free: 17.29 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009997/0.6803, allocations: 301.6 kB / 0.613 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.6807, allocations: 126.4 kB / 0.6131 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.6927, allocations: 3.873 MB / 0.6169 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.6927, allocations: 10.16 kB / 0.6169 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/0.6928, allocations: 8 kB / 0.6169 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.6928, allocations: 3.984 kB / 0.6169 GB, free: 12.93 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.01465/0.7075, allocations: 5.455 MB / 0.6222 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.7075, allocations: 0 / 0.6222 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.7083, allocations: 99.83 kB / 0.6223 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005178/0.7135, allocations: 1.607 MB / 0.6239 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/0.7138, allocations: 20 kB / 0.6239 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/0.7328, allocations: 8.792 MB / 0.6325 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7328, allocations: 0 / 0.6325 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01583/0.7487, allocations: 4.726 MB / 0.6371 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/0.7494, allocations: 227.3 kB / 0.6373 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/0.7499, allocations: 16 kB / 0.6374 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.7515, allocations: 111.9 kB / 0.6375 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000851/0.7524, allocations: 188.7 kB / 0.6376 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.7526, allocations: 27.98 kB / 0.6377 GB, free: 7.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001524/0.7541, allocations: 0.7354 MB / 0.6384 GB, free: 6.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7541, allocations: 3.938 kB / 0.6384 GB, free: 6.484 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002287/0.7564, allocations: 471.5 kB / 0.6388 GB, free: 6.023 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004316/0.7569, allocations: 140 kB / 0.639 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007236/0.7641, allocations: 2.514 MB / 0.6414 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.7642, allocations: 1.688 kB / 0.6414 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004736/0.7689, allocations: 1.586 MB / 0.643 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.7708, allocations: 113.8 kB / 0.6431 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.7764, allocations: 2.667 MB / 0.6457 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/0.7774, allocations: 1.124 MB / 0.6468 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.7779, allocations: 87.34 kB / 0.6469 GB, free: 13.69 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7779, allocations: 4 kB / 0.6469 GB, free: 13.68 MB / 462.1 MB Notification: Performance of Templates: time 0.03585/0.8138, allocations: 23.37 MB / 0.6697 GB, free: 6.508 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRIICalcHelperMain.o] Error 1