Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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/Complex 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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 93.55 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 175.2 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 224.4 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1863/0.1863, allocations: 38.05 MB / 310.7 MB, free: 5.934 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.0005812/0.0005812, allocations: 20 kB / 377.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3435, allocations: 56.32 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.007232/0.3508, allocations: 7.893 MB / 442 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007783/0.3586, allocations: 5.377 MB / 447.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.3598, allocations: 47.69 kB / 447.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008197/0.3681, allocations: 5.475 MB / 452.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.37, allocations: 0.5056 MB / 453.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.3715, allocations: 0.514 MB / 453.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004337/0.3758, allocations: 3.228 MB / 457.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.3779, allocations: 1.172 MB / 458.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.3793, allocations: 0.5638 MB / 458.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.3808, allocations: 0.8093 MB / 459.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.381, allocations: 56 kB / 459.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3814, allocations: 127.9 kB / 459.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004657/0.3819, allocations: 446.6 kB / 460.3 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007074/0.3826, allocations: 0.6117 MB / 460.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.3842, allocations: 1.465 MB / 462.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3842, allocations: 3.938 kB / 462.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3842, allocations: 0 / 462.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3842, allocations: 0 / 462.4 MB, free: 6.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.003581/0.3878, allocations: 1.46 MB / 463.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.3879, allocations: 12.03 kB / 463.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004694/0.3883, allocations: 147.2 kB / 464 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.3906, allocations: 1.066 MB / 465.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.3906, allocations: 69.98 kB / 465.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.3909, allocations: 91.91 kB / 465.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.3931, allocations: 1.335 MB / 466.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.3932, allocations: 0 / 466.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.3933, allocations: 39.98 kB / 466.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003385/0.3936, allocations: 93.92 kB / 466.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.3956, allocations: 1.152 MB / 467.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007568/0.4032, allocations: 4.966 MB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.4047, allocations: 0.9453 MB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.4055, allocations: 0.5316 MB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.4056, allocations: 12.64 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009838/0.4066, allocations: 0.6306 MB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.895e-06/0.4066, allocations: 0 / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=81): time 0.009006/0.4156, allocations: 4.19 MB / 479.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.4158, allocations: 166.9 kB / 479.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.417, allocations: 0.8454 MB / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.4171, allocations: 41.7 kB / 480.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.4175, allocations: 0.5151 MB / 480.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.4178, allocations: 291.8 kB / 481 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.418, allocations: 85.67 kB / 481.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4181, allocations: 345.9 kB / 481.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007734/0.4189, allocations: 489.8 kB / 481.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.4199, allocations: 0.7169 MB / 482.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.4216, allocations: 1.234 MB / 483.9 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/0.4217, allocations: 4.047 kB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.008942/0.4306, allocations: 2.946 MB / 486.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.4309, allocations: 285.9 kB / 487.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.4309, allocations: 8 kB / 487.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008636/0.4396, allocations: 1.916 MB / 489 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.4402, allocations: 139.8 kB / 489.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.4604, allocations: 11.55 MB / 0.489 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4616, allocations: 63.95 kB / 0.489 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/0.4617, allocations: 47.98 kB / 0.4891 GB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4617, allocations: 4 kB / 0.4891 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008422/0.4701, allocations: 2.719 MB / 0.4917 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4702, allocations: 8.188 kB / 0.4917 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008076/0.4783, allocations: 1.846 MB / 0.4935 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.4789, allocations: 143.7 kB / 0.4937 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.4986, allocations: 11.29 MB / 0.5047 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.4997, allocations: 55.95 kB / 0.5047 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.4999, allocations: 47.98 kB / 0.5048 GB, free: 14.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,$whenCondition1,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,40)} Notification: Performance of prepare postOptimizeDAE: time 0.001101/0.5011, allocations: 456.8 kB / 0.5052 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.5014, allocations: 106.7 kB / 0.5053 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.5048, allocations: 1.658 MB / 0.5069 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5048, allocations: 8 kB / 0.507 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.5048, allocations: 4 kB / 0.507 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.5048, allocations: 7.984 kB / 0.507 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.5104, allocations: 2.917 MB / 0.5098 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.5104, allocations: 3.984 kB / 0.5098 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009893/0.5114, allocations: 171.8 kB / 0.51 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.5128, allocations: 399 kB / 0.5104 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.5129, allocations: 27.92 kB / 0.5104 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006632/0.5195, allocations: 6.297 MB / 0.5165 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5196, allocations: 8.094 kB / 0.5165 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3043/0.8238, allocations: 2.309 MB / 0.5188 GB, free: 84.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/0.8245, allocations: 271.3 kB / 0.5191 GB, free: 84.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.8247, allocations: 20.19 kB / 0.5191 GB, free: 84.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006191/0.8253, allocations: 54.33 kB / 0.5191 GB, free: 84.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.8256, allocations: 67.52 kB / 0.5192 GB, free: 84.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.8257, allocations: 31.41 kB / 0.5192 GB, free: 84.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009459/0.8266, allocations: 0.5838 MB / 0.5198 GB, free: 84.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8266, allocations: 1.438 kB / 0.5198 GB, free: 84.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002246/0.8289, allocations: 0.5518 MB / 0.5203 GB, free: 84.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.8299, allocations: 428.9 kB / 0.5207 GB, free: 84.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006798/0.8367, allocations: 3.197 MB / 0.5239 GB, free: 83.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8368, allocations: 0 / 0.5239 GB, free: 83.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.8387, allocations: 1.158 MB / 0.525 GB, free: 83.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.8404, allocations: 256 kB / 0.5252 GB, free: 83.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.8462, allocations: 3.686 MB / 0.5288 GB, free: 81.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009581/0.8472, allocations: 1.243 MB / 0.5301 GB, free: 80.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.8475, allocations: 88.27 kB / 0.5301 GB, free: 80.39 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8475, allocations: 0 / 0.5301 GB, free: 80.39 MB / 398.1 MB Notification: Performance of Templates: time 0.03916/0.8867, allocations: 32.38 MB / 0.5618 GB, free: 52.82 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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 OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrolCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrolCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrolCalcHelperMain.o] Error 1