Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007328/0.0007328, allocations: 91.53 kB / 16.02 MB, free: 80 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.484 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.00118/0.00118, allocations: 180.5 kB / 291.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.46/0.46, allocations: 78.54 MB / 420.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003839, allocations: 19.98 kB / 0.4893 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 69.37 MB / 0.557 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2832/0.423, allocations: 13.7 MB / 0.5704 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008008/0.4311, allocations: 3.573 MB / 0.5739 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.4334, allocations: 29 kB / 0.5739 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.4347, allocations: 432 kB / 0.5743 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.4383, allocations: 1.214 MB / 0.5755 GB, free: 29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.4412, allocations: 1.415 MB / 0.5769 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004132/0.4454, allocations: 3.512 MB / 0.5803 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.4464, allocations: 0.7937 MB / 0.5811 GB, free: 27.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.4486, allocations: 1.322 MB / 0.5824 GB, free: 27.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.4515, allocations: 1.777 MB / 0.5841 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007031/0.4522, allocations: 141.7 kB / 0.5843 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.4534, allocations: 280.1 kB / 0.5845 GB, free: 26.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006306/0.454, allocations: 0.6035 MB / 0.5851 GB, free: 26.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.4557, allocations: 1.494 MB / 0.5866 GB, free: 25.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003452/0.4592, allocations: 2.941 MB / 0.5895 GB, free: 24.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4592, allocations: 0.5625 kB / 0.5895 GB, free: 24.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4592, allocations: 0 / 0.5895 GB, free: 24.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.4594, allocations: 0 / 0.5895 GB, free: 24.41 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02278/0.4822, allocations: 6.123 MB / 0.5954 GB, free: 22.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4822, allocations: 9.094 kB / 0.5955 GB, free: 22.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/0.4976, allocations: 2.289 MB / 0.5977 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.5022, allocations: 1.881 MB / 0.5995 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007347/0.5029, allocations: 0.7502 MB / 0.6003 GB, free: 19.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/0.5035, allocations: 217.6 kB / 0.6005 GB, free: 19.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007292/0.5108, allocations: 3.227 MB / 0.6036 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.5109, allocations: 4 kB / 0.6036 GB, free: 18.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.5111, allocations: 90.52 kB / 0.6037 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.5112, allocations: 49.5 kB / 0.6038 GB, free: 18.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006552/0.5177, allocations: 2.982 MB / 0.6067 GB, free: 17.62 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.02251/0.5403, allocations: 10.12 MB / 0.6166 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.5524, allocations: 4.864 MB / 0.6213 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/0.5575, allocations: 2.163 MB / 0.6234 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.5579, allocations: 51.81 kB / 0.6235 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004914/0.5628, allocations: 2.428 MB / 0.6258 GB, free: 6.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 5.641e-06/0.5629, allocations: 0 / 0.6258 GB, free: 6.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1315/0.6943, allocations: 36.49 MB / 0.6615 GB, free: 2.152 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.6945, allocations: 188.2 kB / 0.6616 GB, free: 1.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/0.6981, allocations: 2.281 MB / 0.6639 GB, free: 15.63 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000808/0.6989, allocations: 73.77 kB / 0.6639 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008937/0.6998, allocations: 1.172 MB / 0.6651 GB, free: 14.37 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.701, allocations: 0.8703 MB / 0.6659 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000425/0.7015, allocations: 290 kB / 0.6662 GB, free: 13.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7016, allocations: 301.1 kB / 0.6665 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/0.7063, allocations: 2.146 MB / 0.6686 GB, free: 10.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/0.7113, allocations: 2.52 MB / 0.6711 GB, free: 8.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05616/0.7674, allocations: 15.42 MB / 0.6861 GB, free: 8.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.7675, allocations: 4 kB / 0.6861 GB, free: 8.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04438/0.8119, allocations: 15.1 MB / 0.7009 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.8121, allocations: 118.8 kB / 0.701 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.8121, allocations: 13.03 kB / 0.701 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0197/0.8318, allocations: 6.301 MB / 0.7071 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.8349, allocations: 0.5539 MB / 0.7077 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06143/0.8963, allocations: 24.78 MB / 0.7319 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/0.9014, allocations: 0.5831 MB / 0.7325 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005565/0.902, allocations: 112 kB / 0.7326 GB, free: 8.688 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001432/0.9035, allocations: 0.5436 MB / 0.7331 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/0.9043, allocations: 292.3 kB / 0.7334 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04336/0.9476, allocations: 14.74 MB / 0.7478 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.9477, allocations: 28 kB / 0.7478 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/0.9477, allocations: 16.5 kB / 0.7478 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.772e-05/0.9478, allocations: 11.95 kB / 0.7478 GB, free: 8.996 MB / 0.545 GB 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.04902/0.9969, allocations: 18.35 MB / 0.7657 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.9969, allocations: 0.6875 kB / 0.7657 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.9985, allocations: 239.7 kB / 0.766 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3238/1.322, allocations: 6.278 MB / 0.7721 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008766/1.323, allocations: 50.03 kB / 0.7721 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05709/1.38, allocations: 25.54 MB / 0.7971 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.38, allocations: 0 / 0.7971 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05236/1.433, allocations: 17.29 MB / 0.814 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.434, allocations: 412.3 kB / 0.8144 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005797/1.435, allocations: 52.55 kB / 0.8144 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/1.438, allocations: 407.8 kB / 0.8148 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002258/1.44, allocations: 0.5674 MB / 0.8154 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.44, allocations: 66.36 kB / 0.8154 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002519/1.443, allocations: 1.509 MB / 0.8169 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.443, allocations: 1.688 kB / 0.8169 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003562/1.446, allocations: 1.172 MB / 0.818 GB, free: 152.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004273/1.447, allocations: 173.9 kB / 0.8182 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01784/1.465, allocations: 7.478 MB / 0.8255 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.465, allocations: 3.281 kB / 0.8255 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/1.478, allocations: 5.081 MB / 0.8305 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.482, allocations: 259.8 kB / 0.8307 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.492, allocations: 6.586 MB / 0.8372 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.494, allocations: 1.81 MB / 0.8389 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.495, allocations: 174.8 kB / 0.8391 GB, free: 140 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/1.495, allocations: 4 kB / 0.8391 GB, free: 140 MB / 0.5606 GB Notification: Performance of Templates: time 0.06867/1.563, allocations: 63.45 MB / 0.9011 GB, free: 81.09 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRIICalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIICalcHelperMain.o] Error 1