Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09316/0.09316, 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.001021/0.001021, 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.511/1.511, allocations: 205.1 MB / 240 MB, free: 10.96 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.001658/0.001659, allocations: 196.5 kB / 290.1 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4555/0.4555, allocations: 78.5 MB / 418.6 MB, free: 31.8 MB / 318.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.002602/0.002602, allocations: 136.4 kB / 498.9 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3825, allocations: 68.02 MB / 0.5536 GB, free: 37.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005324/0.3879, allocations: 6.19 MB / 0.5596 GB, free: 33.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.3907, allocations: 1.755 MB / 0.5614 GB, free: 31.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.3911, allocations: 8.469 kB / 0.5614 GB, free: 31.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.3915, allocations: 161.4 kB / 0.5615 GB, free: 31.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3927, allocations: 0.6202 MB / 0.5621 GB, free: 31.5 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.0009651/0.3937, allocations: 0.5215 MB / 0.5626 GB, free: 31.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.3946, allocations: 1.193 MB / 0.5638 GB, free: 30.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.3949, allocations: 251.8 kB / 0.564 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.3953, allocations: 495 kB / 0.5645 GB, free: 30.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.3958, allocations: 0.6177 MB / 0.5651 GB, free: 29.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.3959, allocations: 58.75 kB / 0.5652 GB, free: 29.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.3962, allocations: 184.6 kB / 0.5653 GB, free: 29.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3964, allocations: 213.1 kB / 0.5655 GB, free: 29.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.3967, allocations: 0.5148 MB / 0.5661 GB, free: 29.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000711/0.3975, allocations: 1.017 MB / 0.567 GB, free: 29.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3975, allocations: 4 kB / 0.567 GB, free: 29.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3975, allocations: 0 / 0.567 GB, free: 29.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3975, allocations: 3.938 kB / 0.5671 GB, free: 29.06 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006584/0.4041, allocations: 2.342 MB / 0.5693 GB, free: 27.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4041, allocations: 17.55 kB / 0.5694 GB, free: 27.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.4087, allocations: 0.7579 MB / 0.5701 GB, free: 27.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.4095, allocations: 0.6999 MB / 0.5708 GB, free: 27.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.4098, allocations: 257.1 kB / 0.571 GB, free: 27.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.4099, allocations: 68.66 kB / 0.5711 GB, free: 27.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4116, allocations: 0.9599 MB / 0.572 GB, free: 26.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4116, allocations: 3.938 kB / 0.572 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.104e-05/0.4117, allocations: 29.56 kB / 0.5721 GB, free: 26.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4117, allocations: 16.34 kB / 0.5721 GB, free: 26.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.4136, allocations: 0.9815 MB / 0.573 GB, free: 26.39 MB / 414.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.004699/0.4183, allocations: 3.179 MB / 0.5761 GB, free: 24.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.4203, allocations: 1.316 MB / 0.5774 GB, free: 23.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.4217, allocations: 0.7024 MB / 0.5781 GB, free: 23.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.4218, allocations: 18.92 kB / 0.5781 GB, free: 23.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.4218, allocations: 40.02 kB / 0.5782 GB, free: 23.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.937e-06/0.4219, allocations: 4 kB / 0.5782 GB, free: 23.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.02684/0.4487, allocations: 6.474 MB / 0.5845 GB, free: 22.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4488, allocations: 68.88 kB / 0.5846 GB, free: 22.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.45, allocations: 0.7966 MB / 0.5853 GB, free: 21.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002014/0.4502, allocations: 41.05 kB / 0.5854 GB, free: 21.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.4505, allocations: 434.8 kB / 0.5858 GB, free: 21.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.4508, allocations: 296.7 kB / 0.5861 GB, free: 20.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.4512, allocations: 187.7 kB / 0.5863 GB, free: 20.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.4513, allocations: 342.7 kB / 0.5866 GB, free: 20.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.4527, allocations: 0.6642 MB / 0.5872 GB, free: 20.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.4542, allocations: 0.7807 MB / 0.588 GB, free: 19.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.4726, allocations: 4.523 MB / 0.5924 GB, free: 17.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.4726, allocations: 0 / 0.5924 GB, free: 17.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01402/0.4867, allocations: 4.075 MB / 0.5964 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.4868, allocations: 4 kB / 0.5964 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.4868, allocations: 4 kB / 0.5964 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005585/0.4924, allocations: 1.743 MB / 0.5981 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4935, allocations: 187.7 kB / 0.5983 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.5118, allocations: 8.337 MB / 0.6064 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.5135, allocations: 155 kB / 0.6066 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.5138, allocations: 35.98 kB / 0.6066 GB, free: 4.039 MB / 414.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 (101): * Single equations (assignments): 100 * 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.0006459/0.5144, allocations: 235.1 kB / 0.6068 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.5148, allocations: 102.7 kB / 0.6069 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.5262, allocations: 3.814 MB / 0.6106 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5262, allocations: 8 kB / 0.6107 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5262, allocations: 0 / 0.6107 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.5263, allocations: 3.984 kB / 0.6107 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.5419, allocations: 5.387 MB / 0.6159 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.5419, allocations: 0 / 0.6159 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.5426, allocations: 95.88 kB / 0.616 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005935/0.5485, allocations: 1.738 MB / 0.6177 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.5488, allocations: 19.98 kB / 0.6177 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.5667, allocations: 7.332 MB / 0.6249 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5667, allocations: 7.922 kB / 0.6249 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.5814, allocations: 4.739 MB / 0.6295 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.582, allocations: 191.6 kB / 0.6297 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.5823, allocations: 16 kB / 0.6297 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5835, allocations: 91.89 kB / 0.6298 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007309/0.5843, allocations: 192.7 kB / 0.63 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.5844, allocations: 23.94 kB / 0.63 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008778/0.5853, allocations: 0.5303 MB / 0.6305 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5853, allocations: 0 / 0.6305 GB, free: 11.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001633/0.5869, allocations: 411.5 kB / 0.6309 GB, free: 10.78 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 (50): * Single equations (assignments): 49 * 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.0003202/0.5872, allocations: 123.7 kB / 0.631 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006715/0.594, allocations: 2.271 MB / 0.6333 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.594, allocations: 0 / 0.6333 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004635/0.5986, allocations: 1.47 MB / 0.6347 GB, free: 6.883 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.5995, allocations: 83.22 kB / 0.6348 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.6036, allocations: 2.183 MB / 0.6369 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.6044, allocations: 1.037 MB / 0.6379 GB, free: 3.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.6047, allocations: 63.42 kB / 0.638 GB, free: 3.465 MB / 446.1 MB Notification: Performance of SimCode: time 3.186e-06/0.6047, allocations: 0 / 0.638 GB, free: 3.465 MB / 446.1 MB Notification: Performance of Templates: time 0.02748/0.6322, allocations: 17.8 MB / 0.6554 GB, free: 1.652 MB / 462.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Tests.Machines.PSAT.Order4test2CalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2CalcHelperMain.o] Error 1