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.001002/0.001002, allocations: 92.38 kB / 16.95 MB, free: 5.953 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.001232/0.001232, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.604/1.604, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 310.3 MB, free: 6.031 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.0004976/0.0004976, allocations: 12 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2584, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.006277/0.2647, allocations: 7.458 MB / 440.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.2714, allocations: 5.014 MB / 445.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.2724, allocations: 47.69 kB / 446 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007923/0.2803, allocations: 5.361 MB / 451.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.2818, allocations: 0.5363 MB / 451.9 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2831, allocations: 456.9 kB / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.2866, allocations: 2.807 MB / 455.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.2882, allocations: 1.046 MB / 456.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.2891, allocations: 0.5757 MB / 456.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.2901, allocations: 0.7823 MB / 457.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2902, allocations: 60 kB / 457.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.2906, allocations: 123.9 kB / 457.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004253/0.2911, allocations: 438.7 kB / 458.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.2913, allocations: 257 kB / 458.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2927, allocations: 1.465 MB / 459.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2927, allocations: 0 / 459.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2927, allocations: 0 / 459.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2927, allocations: 0 / 459.9 MB, free: 8.32 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.003016/0.2957, allocations: 1.483 MB / 461.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2958, allocations: 12.03 kB / 461.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003773/0.2961, allocations: 154.2 kB / 461.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.2981, allocations: 1.019 MB / 462.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.2982, allocations: 69.98 kB / 462.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.2984, allocations: 91.98 kB / 462.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.3005, allocations: 1.328 MB / 464 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.3005, allocations: 3.906 kB / 464 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/0.3006, allocations: 43.98 kB / 464.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000268/0.3009, allocations: 89.92 kB / 464.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3027, allocations: 1.148 MB / 465.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006743/0.3095, allocations: 4.951 MB / 470.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.3109, allocations: 0.9453 MB / 471.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.3117, allocations: 0.5277 MB / 471.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.3118, allocations: 12.66 kB / 471.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009281/0.3127, allocations: 0.6177 MB / 472.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.884e-06/0.3127, allocations: 3.938 kB / 472.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=81): time 0.008265/0.321, allocations: 4.233 MB / 476.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3211, allocations: 166.9 kB / 476.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.3222, allocations: 0.8453 MB / 477.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.3223, allocations: 37.7 kB / 477.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.3227, allocations: 0.5151 MB / 478.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.3229, allocations: 295.7 kB / 478.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.323, allocations: 20 kB / 478.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3232, allocations: 347.1 kB / 478.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.3239, allocations: 481.8 kB / 479.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.3248, allocations: 0.7208 MB / 480 MB, free: 3.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.3257, allocations: 0.5652 MB / 480.6 MB, free: 2.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3257, allocations: 4 kB / 480.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007735/0.3335, allocations: 2.931 MB / 483.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.3337, allocations: 290.2 kB / 483.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3338, allocations: 4 kB / 483.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007234/0.341, allocations: 1.928 MB / 485.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.3417, allocations: 143.8 kB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.3607, allocations: 11.55 MB / 497.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/0.3616, allocations: 55.95 kB / 497.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/0.3617, allocations: 47.98 kB / 497.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.3618, allocations: 8 kB / 497.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007704/0.3695, allocations: 2.7 MB / 0.4885 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.724e-05/0.3696, allocations: 11.98 kB / 0.4885 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007094/0.3767, allocations: 1.846 MB / 0.4903 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.3773, allocations: 143.8 kB / 0.4904 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.3948, allocations: 11.26 MB / 0.5014 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/0.3957, allocations: 47.97 kB / 0.5015 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.3958, allocations: 51.97 kB / 0.5015 GB, free: 1.172 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {9 40} Notification: Performance of prepare postOptimizeDAE: time 0.0007749/0.3966, allocations: 448.8 kB / 0.502 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3968, allocations: 114.6 kB / 0.5021 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.3997, allocations: 1.646 MB / 0.5037 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3998, allocations: 11.95 kB / 0.5037 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3998, allocations: 8 kB / 0.5037 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3998, allocations: 3.984 kB / 0.5037 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/0.4044, allocations: 2.91 MB / 0.5065 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4044, allocations: 0 / 0.5065 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/0.4053, allocations: 171.8 kB / 0.5067 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.4065, allocations: 398.9 kB / 0.5071 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-05/0.4066, allocations: 27.98 kB / 0.5071 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/0.4124, allocations: 6.293 MB / 0.5132 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4125, allocations: 4.031 kB / 0.5133 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.4161, allocations: 2.291 MB / 0.5155 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.4166, allocations: 275.7 kB / 0.5158 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.4168, allocations: 27.98 kB / 0.5158 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.4173, allocations: 51.91 kB / 0.5158 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.4175, allocations: 64.91 kB / 0.5159 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.4176, allocations: 35.98 kB / 0.5159 GB, free: 1.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008211/0.4184, allocations: 0.5701 MB / 0.5165 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4184, allocations: 7.938 kB / 0.5165 GB, free: 1.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00206/0.4205, allocations: 0.5546 MB / 0.517 GB, free: 468 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.4215, allocations: 431.2 kB / 0.5174 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.2404/0.6619, allocations: 3.2 MB / 0.5206 GB, free: 85.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.662, allocations: 0 / 0.5206 GB, free: 85.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.6639, allocations: 1.146 MB / 0.5217 GB, free: 85.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6655, allocations: 264.9 kB / 0.5219 GB, free: 85.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.6707, allocations: 3.604 MB / 0.5255 GB, free: 83.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.6719, allocations: 1.241 MB / 0.5267 GB, free: 82.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.6722, allocations: 94.59 kB / 0.5268 GB, free: 82.76 MB / 398.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6723, allocations: 0 / 0.5268 GB, free: 82.76 MB / 398.1 MB Notification: Performance of Templates: time 0.03659/0.7089, allocations: 32.4 MB / 0.5584 GB, free: 56.29 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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