Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, 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.509/1.509, allocations: 222.9 MB / 239.5 MB, free: 4.797 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.00135/0.00135, allocations: 196.4 kB / 289.8 MB, free: 2.535 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5182/0.5182, allocations: 78.52 MB / 418.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.89 kB / 497.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1817, allocations: 68.19 MB / 0.5523 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.352/0.5338, allocations: 6.805 MB / 0.559 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.5386, allocations: 1.92 MB / 0.5608 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.5401, allocations: 15 kB / 0.5609 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009009/0.5411, allocations: 171.5 kB / 0.561 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.5435, allocations: 0.6261 MB / 0.5616 GB, free: 35.41 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.545, allocations: 0.5764 MB / 0.5622 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.547, allocations: 1.358 MB / 0.5635 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.5476, allocations: 292.2 kB / 0.5638 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.5485, allocations: 0.543 MB / 0.5643 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007852/0.5493, allocations: 0.7017 MB / 0.565 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.5495, allocations: 67.12 kB / 0.5651 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006162/0.5501, allocations: 199.4 kB / 0.5653 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.5503, allocations: 245.4 kB / 0.5655 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.5509, allocations: 0.5894 MB / 0.5661 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.5522, allocations: 1.121 MB / 0.5672 GB, free: 34.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5522, allocations: 3.375 kB / 0.5672 GB, free: 34.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5522, allocations: 1.875 kB / 0.5672 GB, free: 34.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.5522, allocations: 0 / 0.5672 GB, free: 34.4 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008398/0.5606, allocations: 2.565 MB / 0.5697 GB, free: 33.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.5607, allocations: 10.19 kB / 0.5697 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/0.5657, allocations: 0.7789 MB / 0.5705 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.5671, allocations: 0.767 MB / 0.5712 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.5674, allocations: 258.2 kB / 0.5715 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5675, allocations: 84 kB / 0.5715 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.5699, allocations: 1.078 MB / 0.5726 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.57, allocations: 3.938 kB / 0.5726 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5701, allocations: 38.41 kB / 0.5726 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.5701, allocations: 17.06 kB / 0.5726 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.5726, allocations: 1.121 MB / 0.5737 GB, free: 32.71 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.006373/0.579, allocations: 3.468 MB / 0.5771 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5811, allocations: 1.44 MB / 0.5785 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.5826, allocations: 0.7789 MB / 0.5793 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.5827, allocations: 23.97 kB / 0.5793 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5828, allocations: 42.47 kB / 0.5794 GB, free: 30.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.577e-06/0.5828, allocations: 0 / 0.5794 GB, free: 30.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02728/0.6101, allocations: 6.609 MB / 0.5858 GB, free: 29.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.6102, allocations: 69.19 kB / 0.5859 GB, free: 29.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.6119, allocations: 0.8882 MB / 0.5867 GB, free: 28.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000363/0.6123, allocations: 41.73 kB / 0.5868 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.6127, allocations: 496.9 kB / 0.5873 GB, free: 28.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.6132, allocations: 352.4 kB / 0.5876 GB, free: 28.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.6137, allocations: 207.7 kB / 0.5878 GB, free: 28.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6138, allocations: 348.5 kB / 0.5881 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.6156, allocations: 0.7338 MB / 0.5888 GB, free: 27.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.6175, allocations: 0.865 MB / 0.5897 GB, free: 27.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0207/0.6382, allocations: 4.852 MB / 0.5944 GB, free: 25.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.6383, allocations: 1.531 kB / 0.5944 GB, free: 25.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0156/0.6539, allocations: 4.273 MB / 0.5986 GB, free: 24.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.654, allocations: 9.875 kB / 0.5986 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.654, allocations: 3.438 kB / 0.5986 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006729/0.6608, allocations: 1.726 MB / 0.6003 GB, free: 24.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.6623, allocations: 232 kB / 0.6005 GB, free: 24.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.6836, allocations: 8.334 MB / 0.6087 GB, free: 20.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.6855, allocations: 178 kB / 0.6088 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.6857, allocations: 40.48 kB / 0.6089 GB, free: 20.13 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006229/0.6863, allocations: 247.2 kB / 0.6091 GB, free: 19.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.6866, allocations: 119 kB / 0.6092 GB, free: 19.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.6995, allocations: 4.014 MB / 0.6131 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.6996, allocations: 9 kB / 0.6131 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6996, allocations: 0 / 0.6131 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.6997, allocations: 7.984 kB / 0.6132 GB, free: 17.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.7134, allocations: 5.61 MB / 0.6186 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.7135, allocations: 3.938 kB / 0.6186 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.7143, allocations: 127.9 kB / 0.6188 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005317/0.7196, allocations: 1.74 MB / 0.6205 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.7199, allocations: 20.92 kB / 0.6205 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.7366, allocations: 7.337 MB / 0.6276 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7367, allocations: 1.594 kB / 0.6276 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/0.7517, allocations: 4.958 MB / 0.6325 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/0.7523, allocations: 203.4 kB / 0.6327 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.7528, allocations: 16 kB / 0.6327 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.7542, allocations: 116.9 kB / 0.6328 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009195/0.7552, allocations: 208.6 kB / 0.633 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.7554, allocations: 31.92 kB / 0.633 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.7565, allocations: 0.5969 MB / 0.6336 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7566, allocations: 0 / 0.6336 GB, free: 11.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002288/0.7588, allocations: 439.5 kB / 0.634 GB, free: 11.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003104/0.7592, allocations: 131.1 kB / 0.6342 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007135/0.7663, allocations: 2.441 MB / 0.6365 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7664, allocations: 0 / 0.6365 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004982/0.7714, allocations: 1.559 MB / 0.6381 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7728, allocations: 88.98 kB / 0.6382 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005841/0.7787, allocations: 2.527 MB / 0.6406 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.7795, allocations: 1.099 MB / 0.6417 GB, free: 3.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.7799, allocations: 63.42 kB / 0.6418 GB, free: 3.352 MB / 446.1 MB Notification: Performance of SimCode: time 2.795e-06/0.7799, allocations: 4 kB / 0.6418 GB, free: 3.348 MB / 446.1 MB Notification: Performance of Templates: time 0.02938/0.8093, allocations: 20.08 MB / 0.6614 GB, free: 15.43 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o] Error 1