Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.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.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008436/0.0008443, allocations: 92.94 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.0008161/0.0008167, allocations: 175.5 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.791/1.791, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1891/0.1891, allocations: 38.06 MB / 310.7 MB, free: 5.91 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.0005574/0.0005577, allocations: 16 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2939, allocations: 56.33 MB / 434.2 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.007828/0.3017, allocations: 7.986 MB / 442.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007944/0.3097, allocations: 5.198 MB / 447.3 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.3112, allocations: 59.62 kB / 447.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007399/0.3186, allocations: 4.68 MB / 452.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.3202, allocations: 489.8 kB / 452.6 MB, free: 236 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3215, allocations: 459 kB / 453 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004032/0.3256, allocations: 3.014 MB / 456 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.3274, allocations: 1.148 MB / 457.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009097/0.3283, allocations: 0.5327 MB / 457.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3294, allocations: 0.7315 MB / 458.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3295, allocations: 52 kB / 458.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.3297, allocations: 59.98 kB / 458.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.3301, allocations: 386.8 kB / 458.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.3307, allocations: 0.5379 MB / 459.5 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3319, allocations: 1.247 MB / 460.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3319, allocations: 0 / 460.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3319, allocations: 0 / 460.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3319, allocations: 4 kB / 460.7 MB, free: 8 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002911/0.3349, allocations: 1.234 MB / 461.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3349, allocations: 12.03 kB / 461.9 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.3354, allocations: 131.4 kB / 462.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.3371, allocations: 0.8911 MB / 463 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.3371, allocations: 65.98 kB / 463 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3373, allocations: 87.98 kB / 463.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.3393, allocations: 1.226 MB / 464.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.3394, allocations: 11.84 kB / 464.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.3395, allocations: 39.98 kB / 464.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.3397, allocations: 73.95 kB / 464.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.3414, allocations: 1.015 MB / 465.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006534/0.348, allocations: 4.445 MB / 469.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.3494, allocations: 0.895 MB / 470.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.3501, allocations: 456 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.3502, allocations: 9.328 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3502, allocations: 47.06 kB / 471.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=70): time 4.799e-06/0.3503, allocations: 3.984 kB / 471.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006723/0.357, allocations: 3.334 MB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.3571, allocations: 137.1 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.358, allocations: 0.6882 MB / 475.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/0.3581, allocations: 41.7 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.3585, allocations: 483.2 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.3588, allocations: 252.4 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3589, allocations: 73.69 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3591, allocations: 342 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.3597, allocations: 377.8 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.3606, allocations: 0.5978 MB / 477.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007697/0.3683, allocations: 2.418 MB / 480 MB, free: 3.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3683, allocations: 4 kB / 480 MB, free: 3.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005868/0.3742, allocations: 2.067 MB / 482.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/0.3745, allocations: 279.9 kB / 482.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.3745, allocations: 11.94 kB / 482.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004648/0.3792, allocations: 1.027 MB / 483.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.3798, allocations: 135.8 kB / 483.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.3952, allocations: 9.245 MB / 492.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.3961, allocations: 40.03 kB / 492.8 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.3963, allocations: 39.98 kB / 492.9 MB, free: 6.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3963, allocations: 8 kB / 492.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005656/0.4019, allocations: 1.856 MB / 494.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.402, allocations: 4 kB / 494.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/0.4066, allocations: 1.001 MB / 495.7 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.4072, allocations: 139.7 kB / 495.9 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.4223, allocations: 8.985 MB / 0.493 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/0.4232, allocations: 40.05 kB / 0.4931 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4234, allocations: 35.98 kB / 0.4931 GB, free: 10.25 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.asm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,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 (65): * Single equations (assignments): 63 * 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,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0009994/0.4244, allocations: 412.8 kB / 0.4935 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.4248, allocations: 94.8 kB / 0.4936 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.4274, allocations: 1.265 MB / 0.4948 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4274, allocations: 8 kB / 0.4948 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4274, allocations: 4 kB / 0.4948 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4274, allocations: 3.984 kB / 0.4948 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.432, allocations: 2.406 MB / 0.4972 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.432, allocations: 4 kB / 0.4972 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/0.4329, allocations: 159.8 kB / 0.4973 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.4335, allocations: 155.3 kB / 0.4975 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4336, allocations: 27.98 kB / 0.4975 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004948/0.4385, allocations: 5.393 MB / 0.5028 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4386, allocations: 3.938 kB / 0.5028 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.4417, allocations: 1.887 MB / 0.5046 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.4423, allocations: 231.9 kB / 0.5048 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.4425, allocations: 23.98 kB / 0.5049 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.4431, allocations: 35.97 kB / 0.5049 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.4433, allocations: 52.58 kB / 0.505 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.4434, allocations: 23.98 kB / 0.505 GB, free: 13.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007506/0.4441, allocations: 491 kB / 0.5054 GB, free: 12.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4441, allocations: 0 / 0.5054 GB, free: 12.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002183/0.4463, allocations: 456 kB / 0.5059 GB, free: 12.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (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_rq[1],asm_ctrl.motor.phiRotorflux,loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,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.000251/0.4466, allocations: 119.2 kB / 0.506 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00606/0.4526, allocations: 2.618 MB / 0.5086 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.4527, allocations: 0 / 0.5086 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.4544, allocations: 0.9137 MB / 0.5094 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.4567, allocations: 240.2 kB / 0.5097 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.4632, allocations: 3.059 MB / 0.5127 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.4645, allocations: 1.174 MB / 0.5138 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.4649, allocations: 79.34 kB / 0.5139 GB, free: 3.949 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4649, allocations: 0 / 0.5139 GB, free: 3.949 MB / 398.1 MB Notification: Performance of Templates: time 0.3101/0.775, allocations: 27.61 MB / 0.5408 GB, free: 71.57 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.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.ASM_ctrlAvCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAvCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAvCalcHelperMain.o] Error 1