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.001038/0.001038, allocations: 97.2 kB / 16.95 MB, free: 5.543 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.001011/0.001011, allocations: 187.7 kB / 17.85 MB, free: 5.223 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.594/1.594, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1717/0.1717, allocations: 38.05 MB / 310.3 MB, free: 6.02 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.0005118/0.0005119, allocations: 16 kB / 377.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2585, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.006121/0.2647, allocations: 7.456 MB / 440.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006157/0.2708, allocations: 5.068 MB / 446 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.2715, allocations: 51.69 kB / 446.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007548/0.279, allocations: 5.37 MB / 451.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.2802, allocations: 0.5558 MB / 452 MB, free: 280 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2814, allocations: 432.9 kB / 452.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.2842, allocations: 2.545 MB / 455 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2856, allocations: 0.9561 MB / 455.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007526/0.2863, allocations: 0.5057 MB / 456.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.2872, allocations: 0.693 MB / 457.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.2873, allocations: 48 kB / 457.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.2877, allocations: 171.8 kB / 457.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.2881, allocations: 442.8 kB / 457.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.2884, allocations: 225.1 kB / 458 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.2894, allocations: 1.181 MB / 459.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2895, allocations: 0 / 459.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2895, allocations: 0 / 459.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.2895, allocations: 0 / 459.2 MB, free: 9.039 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.002412/0.2919, allocations: 1.273 MB / 460.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.292, allocations: 12.03 kB / 460.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.2925, allocations: 150.5 kB / 460.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.294, allocations: 0.8511 MB / 461.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.2941, allocations: 61.98 kB / 461.5 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.2942, allocations: 91.89 kB / 461.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.296, allocations: 1.232 MB / 462.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.2961, allocations: 11.88 kB / 462.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.2961, allocations: 31.98 kB / 462.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.2964, allocations: 93.89 kB / 463 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.2979, allocations: 0.9914 MB / 463.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006011/0.3039, allocations: 4.932 MB / 468.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.3048, allocations: 0.6562 MB / 469.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005633/0.3054, allocations: 363.4 kB / 469.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.826e-05/0.3055, allocations: 12.53 kB / 469.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006642/0.3062, allocations: 445.8 kB / 470.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.3062, allocations: 0 / 470.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004549/0.3107, allocations: 2.739 MB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.3108, allocations: 115.3 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.3117, allocations: 0.7389 MB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3118, allocations: 41.7 kB / 474 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.3122, allocations: 0.4986 MB / 474.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.3124, allocations: 228.7 kB / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.3124, allocations: 24 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3126, allocations: 402.7 kB / 475.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.3132, allocations: 373.8 kB / 475.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.314, allocations: 0.6536 MB / 476.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.3147, allocations: 479 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.3147, allocations: 4 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002721/0.3175, allocations: 1.612 MB / 478.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3175, allocations: 8 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3175, allocations: 11.98 kB / 478.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.3189, allocations: 489.8 kB / 478.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.3194, allocations: 167.7 kB / 478.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008839/0.3283, allocations: 6.518 MB / 485.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007397/0.3291, allocations: 52.03 kB / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.3291, allocations: 40 kB / 485.5 MB, free: 13.63 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 (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 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005995/0.3298, allocations: 349.5 kB / 485.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3299, allocations: 86.88 kB / 485.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.3316, allocations: 1.11 MB / 487 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3317, allocations: 8 kB / 487 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3317, allocations: 4 kB / 487 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3317, allocations: 7.984 kB / 487 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.3348, allocations: 2.107 MB / 489.1 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3349, allocations: 8.125 kB / 489.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.3355, allocations: 123.9 kB / 489.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.336, allocations: 162.4 kB / 489.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.3361, allocations: 23.98 kB / 489.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.3398, allocations: 4.458 MB / 493.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3399, allocations: 0 / 493.9 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.342, allocations: 1.514 MB / 495.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.3424, allocations: 227.9 kB / 495.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3425, allocations: 23.98 kB / 495.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.3429, allocations: 31.97 kB / 495.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.343, allocations: 48.5 kB / 495.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.343, allocations: 23.98 kB / 495.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006259/0.3437, allocations: 0.5068 MB / 496.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3437, allocations: 0 / 496.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3447, allocations: 264.1 kB / 496.5 MB, free: 1.891 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.000902/0.3456, allocations: 434.4 kB / 497 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.3479, allocations: 1.326 MB / 498.3 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.348, allocations: 0 / 498.3 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3491, allocations: 0.7776 MB / 499.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.3501, allocations: 199.5 kB / 499.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.3546, allocations: 3.343 MB / 0.4908 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.3554, allocations: 1.139 MB / 0.4919 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.3556, allocations: 79.39 kB / 0.492 GB, free: 10.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3556, allocations: 0 / 0.492 GB, free: 10.5 MB / 382.1 MB Notification: Performance of Templates: time 0.02802/0.3837, allocations: 22.69 MB / 0.5142 GB, free: 3.773 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++ 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.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