Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08728/0.08728, allocations: 12.2 MB / 28.13 MB, free: 0.918 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.0007598/0.0007597, allocations: 103.5 kB / 31.66 MB, free: 4.512 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.568/1.568, allocations: 205.4 MB / 240.5 MB, free: 12.08 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.00123/0.00123, allocations: 185.5 kB / 291.6 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4611/0.4611, allocations: 78.54 MB / 421.1 MB, free: 48.72 MB / 334.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.0008774/0.0008776, allocations: 28 kB / 0.4907 GB, free: 2.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3915, allocations: 69.23 MB / 0.5583 GB, free: 43.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005852/0.3974, allocations: 6.395 MB / 0.5646 GB, free: 40.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.4008, allocations: 1.868 MB / 0.5664 GB, free: 39.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.4013, allocations: 12 kB / 0.5664 GB, free: 39.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.4017, allocations: 171.5 kB / 0.5666 GB, free: 39.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4032, allocations: 0.628 MB / 0.5672 GB, free: 38.98 MB / 430.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.001235/0.4044, allocations: 0.563 MB / 0.5677 GB, free: 38.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.4058, allocations: 1.357 MB / 0.5691 GB, free: 38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.4062, allocations: 292.8 kB / 0.5694 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.4068, allocations: 0.5309 MB / 0.5699 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006352/0.4074, allocations: 0.6589 MB / 0.5705 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.4076, allocations: 52.03 kB / 0.5706 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.408, allocations: 187.3 kB / 0.5707 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.4082, allocations: 219 kB / 0.571 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.4086, allocations: 0.5954 MB / 0.5715 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008712/0.4095, allocations: 1.092 MB / 0.5726 GB, free: 36.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4095, allocations: 0 / 0.5726 GB, free: 36.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4095, allocations: 0 / 0.5726 GB, free: 36.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.4095, allocations: 4 kB / 0.5726 GB, free: 36.38 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.006789/0.4163, allocations: 2.389 MB / 0.5749 GB, free: 35.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4164, allocations: 13.2 kB / 0.5749 GB, free: 35.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.421, allocations: 0.7924 MB / 0.5757 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.422, allocations: 0.7634 MB / 0.5765 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.4223, allocations: 271.4 kB / 0.5767 GB, free: 34.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.4224, allocations: 79.66 kB / 0.5768 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.4246, allocations: 1.172 MB / 0.5779 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4247, allocations: 4.844 kB / 0.578 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.4248, allocations: 30.47 kB / 0.578 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.4248, allocations: 18.91 kB / 0.578 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.4272, allocations: 1.245 MB / 0.5792 GB, free: 33.59 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.004942/0.4321, allocations: 3.532 MB / 0.5827 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.4341, allocations: 1.521 MB / 0.5841 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.4356, allocations: 0.8824 MB / 0.585 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.4357, allocations: 17.95 kB / 0.585 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4357, allocations: 38.69 kB / 0.5851 GB, free: 30.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.745e-06/0.4357, allocations: 3.094 kB / 0.5851 GB, free: 30.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02632/0.4621, allocations: 8.219 MB / 0.5931 GB, free: 28.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4622, allocations: 64.56 kB / 0.5932 GB, free: 28.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.4636, allocations: 0.8893 MB / 0.594 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.4639, allocations: 41.86 kB / 0.5941 GB, free: 28.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.4642, allocations: 0.4951 MB / 0.5945 GB, free: 27.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.4646, allocations: 344.6 kB / 0.5949 GB, free: 27.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.4647, allocations: 105 kB / 0.595 GB, free: 27.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.4648, allocations: 349.4 kB / 0.5953 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.4666, allocations: 0.8227 MB / 0.5961 GB, free: 27.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.4686, allocations: 0.9583 MB / 0.597 GB, free: 26.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02053/0.4891, allocations: 5.41 MB / 0.6023 GB, free: 25.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/0.4892, allocations: 4 kB / 0.6023 GB, free: 25.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01622/0.5054, allocations: 5.23 MB / 0.6074 GB, free: 24.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.5055, allocations: 12.66 kB / 0.6075 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.5055, allocations: 7.141 kB / 0.6075 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/0.5122, allocations: 2.039 MB / 0.6095 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.5135, allocations: 245 kB / 0.6097 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.5322, allocations: 9.336 MB / 0.6188 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.5341, allocations: 222.9 kB / 0.619 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.5343, allocations: 43.98 kB / 0.6191 GB, free: 13.49 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.0006855/0.535, allocations: 237.6 kB / 0.6193 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.5354, allocations: 122.5 kB / 0.6194 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.5487, allocations: 4.955 MB / 0.6242 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.5487, allocations: 8 kB / 0.6242 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5488, allocations: 4 kB / 0.6243 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/0.5488, allocations: 3.984 kB / 0.6243 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.5648, allocations: 6.555 MB / 0.6307 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.5649, allocations: 3.938 kB / 0.6307 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008155/0.5657, allocations: 151.8 kB / 0.6308 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006099/0.5718, allocations: 2.05 MB / 0.6328 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.5721, allocations: 27.88 kB / 0.6328 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/0.5922, allocations: 8.203 MB / 0.6408 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.5922, allocations: 3.984 kB / 0.6408 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.6095, allocations: 5.993 MB / 0.6467 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/0.6101, allocations: 207.4 kB / 0.6469 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00043/0.6106, allocations: 16 kB / 0.6469 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.6121, allocations: 163.7 kB / 0.6471 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008283/0.6129, allocations: 208.6 kB / 0.6473 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.6131, allocations: 27.98 kB / 0.6473 GB, free: 216 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.6141, allocations: 0.5969 MB / 0.6479 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6141, allocations: 4 kB / 0.6479 GB, free: 15.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00171/0.6159, allocations: 443.4 kB / 0.6483 GB, free: 15.17 MB / 462.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.000326/0.6162, allocations: 125 kB / 0.6484 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007794/0.624, allocations: 2.769 MB / 0.6511 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.624, allocations: 4.062 kB / 0.6511 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005412/0.6295, allocations: 1.802 MB / 0.6529 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.6306, allocations: 91.34 kB / 0.653 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004811/0.6355, allocations: 2.595 MB / 0.6555 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.6364, allocations: 1.099 MB / 0.6566 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.6368, allocations: 71.42 kB / 0.6567 GB, free: 6.539 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6368, allocations: 0 / 0.6567 GB, free: 6.539 MB / 462.1 MB Notification: Performance of Templates: time 0.03226/0.669, allocations: 19.95 MB / 0.6761 GB, free: 2.574 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile make -j1 -f OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbationCalcHelperMain.o] Error 1