Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009277, allocations: 105.5 kB / 17.16 MB, free: 6.09 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.0008904/0.0008904, allocations: 202.9 kB / 18.08 MB, free: 5.305 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.183/1.183, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1573/0.1573, allocations: 37.99 MB / 309.3 MB, free: 6.246 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.001219/0.001219, allocations: 63.03 kB / 375.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1981, allocations: 55.23 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006676/0.2049, allocations: 8.357 MB / 438.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005446/0.2103, allocations: 5.582 MB / 444.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.2107, allocations: 51.69 kB / 444.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006834/0.2176, allocations: 5.662 MB / 450.2 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.2184, allocations: 493.9 kB / 450.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.2194, allocations: 441.6 kB / 451.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002641/0.222, allocations: 2.955 MB / 454 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008883/0.2229, allocations: 0.7907 MB / 454.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006058/0.2235, allocations: 0.5096 MB / 455.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.2243, allocations: 0.7435 MB / 456.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2244, allocations: 56 kB / 456.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.2248, allocations: 231.7 kB / 456.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.2252, allocations: 446.8 kB / 456.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.2257, allocations: 0.5401 MB / 457.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.2266, allocations: 1.212 MB / 458.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2266, allocations: 4 kB / 458.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2266, allocations: 4 kB / 458.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2267, allocations: 0 / 458.5 MB, free: 7.668 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002546/0.2292, allocations: 1.445 MB / 460 MB, free: 6.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2293, allocations: 12.03 kB / 460 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.2298, allocations: 151.5 kB / 460.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.2312, allocations: 0.8743 MB / 461 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.2313, allocations: 65.98 kB / 461.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2314, allocations: 91.97 kB / 461.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.2331, allocations: 1.235 MB / 462.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.2331, allocations: 7.906 kB / 462.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.2332, allocations: 35.98 kB / 462.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/0.2334, allocations: 85.95 kB / 462.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.2349, allocations: 1.007 MB / 463.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005908/0.2408, allocations: 4.92 MB / 468.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/0.2417, allocations: 0.6566 MB / 469.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.2422, allocations: 351.3 kB / 469.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.2423, allocations: 12.56 kB / 469.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/0.2429, allocations: 453.7 kB / 469.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.315e-06/0.2429, allocations: 0 / 469.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004231/0.2471, allocations: 2.712 MB / 472.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.2472, allocations: 119.3 kB / 472.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.2481, allocations: 0.7467 MB / 473.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.2481, allocations: 41.7 kB / 473.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.2485, allocations: 0.4909 MB / 474 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.2486, allocations: 244.6 kB / 474.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.2489, allocations: 182.5 kB / 474.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2491, allocations: 398.7 kB / 474.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.2496, allocations: 373.8 kB / 475.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.2503, allocations: 0.6537 MB / 475.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.2516, allocations: 1.057 MB / 476.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2516, allocations: 0 / 476.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002716/0.2543, allocations: 1.634 MB / 478.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2543, allocations: 8 kB / 478.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.2544, allocations: 8 kB / 478.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.2558, allocations: 494.2 kB / 479 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.2564, allocations: 163.7 kB / 479.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008272/0.2647, allocations: 6.516 MB / 485.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.2654, allocations: 51.97 kB / 485.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.2655, allocations: 44 kB / 485.8 MB, free: 11.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0005054/0.266, allocations: 349.4 kB / 486.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2661, allocations: 86.97 kB / 486.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.2678, allocations: 1.122 MB / 487.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2678, allocations: 7.984 kB / 487.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2678, allocations: 4 kB / 487.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2678, allocations: 7.984 kB / 487.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.2709, allocations: 2.115 MB / 489.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2709, allocations: 256 / 489.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.2716, allocations: 131.8 kB / 489.6 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.2721, allocations: 158.4 kB / 489.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.2722, allocations: 23.98 kB / 489.8 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/0.2756, allocations: 4.458 MB / 494.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2757, allocations: 240 / 494.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.2777, allocations: 1.526 MB / 495.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.278, allocations: 219.9 kB / 496 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.2781, allocations: 28 kB / 496 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.2786, allocations: 27.97 kB / 496.1 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.2787, allocations: 52.42 kB / 496.1 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.2787, allocations: 23.98 kB / 496.1 MB, free: 184 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006352/0.2794, allocations: 0.5107 MB / 496.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2794, allocations: 3.938 kB / 496.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009229/0.2803, allocations: 264.1 kB / 496.9 MB, free: 15.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * 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 (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0008514/0.2812, allocations: 426.5 kB / 497.3 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.2834, allocations: 1.314 MB / 498.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2834, allocations: 0 / 498.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.2846, allocations: 0.7774 MB / 499.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2856, allocations: 207.6 kB / 499.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.2898, allocations: 3.133 MB / 0.491 GB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.2905, allocations: 1.147 MB / 0.4921 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.2908, allocations: 71.42 kB / 0.4922 GB, free: 8.254 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2908, allocations: 0 / 0.4922 GB, free: 8.254 MB / 382.1 MB Notification: Performance of Templates: time 0.02529/0.3161, allocations: 22.79 MB / 0.5144 GB, free: 1.426 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.ASMavCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMavCalcHelperMain.o] Error 1