Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2400,variableFilter="Time|asm_ctrl.motor.tau_el|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm_ctrl.motor.tau_el|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_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.0009043/0.000904, allocations: 93.31 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.001102/0.001102, 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 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.18/0.18, allocations: 38.09 MB / 331.4 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8.875 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 59.16 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01138/0.1567, allocations: 7.882 MB / 468.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.1685, allocations: 5.424 MB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.1704, allocations: 47.69 kB / 473.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.1806, allocations: 5.471 MB / 479.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.1826, allocations: 0.4977 MB / 479.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1841, allocations: 0.518 MB / 480.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004185/0.1883, allocations: 3.236 MB / 483.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/0.1901, allocations: 1.168 MB / 484.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009498/0.191, allocations: 0.556 MB / 485.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.1922, allocations: 0.8133 MB / 486.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1924, allocations: 56 kB / 486.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.1927, allocations: 127.9 kB / 486.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.1932, allocations: 438.6 kB / 486.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006127/0.1938, allocations: 0.6156 MB / 487.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.1954, allocations: 1.461 MB / 488.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1954, allocations: 0 / 488.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1954, allocations: 0 / 488.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1954, allocations: 4 kB / 488.8 MB, free: 10.59 MB / 366.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.003405/0.1988, allocations: 1.464 MB / 490.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1989, allocations: 8.031 kB / 490.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005665/0.1995, allocations: 147.2 kB / 490.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.2018, allocations: 1.058 MB / 491.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/0.2019, allocations: 69.98 kB / 491.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.2021, allocations: 95.91 kB / 491.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.2045, allocations: 1.335 MB / 493 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.2045, allocations: 0 / 493 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.2047, allocations: 39.98 kB / 493 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003856/0.205, allocations: 93.94 kB / 493.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.2071, allocations: 1.152 MB / 494.3 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008178/0.2153, allocations: 4.966 MB / 499.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2168, allocations: 0.9469 MB / 0.4885 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/0.2177, allocations: 0.5366 MB / 0.489 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.568e-05/0.2178, allocations: 12.66 kB / 0.489 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.2189, allocations: 0.6294 MB / 0.4896 GB, free: 13.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.324e-06/0.2189, allocations: 0 / 0.4896 GB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=81): time 0.009586/0.2285, allocations: 4.183 MB / 0.4937 GB, free: 9.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.2286, allocations: 166.9 kB / 0.4939 GB, free: 9.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2298, allocations: 0.8411 MB / 0.4947 GB, free: 8.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.2299, allocations: 37.7 kB / 0.4947 GB, free: 8.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/0.2305, allocations: 0.515 MB / 0.4952 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.2308, allocations: 295.8 kB / 0.4955 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.2309, allocations: 89.67 kB / 0.4956 GB, free: 7.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2311, allocations: 350 kB / 0.4959 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/0.2319, allocations: 477.7 kB / 0.4964 GB, free: 6.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009641/0.2329, allocations: 0.7208 MB / 0.4971 GB, free: 5.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.2347, allocations: 1.234 MB / 0.4983 GB, free: 4.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2347, allocations: 4 kB / 0.4983 GB, free: 4.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00929/0.244, allocations: 2.942 MB / 0.5012 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.2444, allocations: 288.4 kB / 0.5014 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2444, allocations: 8 kB / 0.5015 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2846/0.529, allocations: 1.904 MB / 0.5033 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/0.5298, allocations: 144.5 kB / 0.5035 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/0.5503, allocations: 11.54 MB / 0.5147 GB, free: 50.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009731/0.5513, allocations: 66.92 kB / 0.5148 GB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.5515, allocations: 47.25 kB / 0.5148 GB, free: 49.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5515, allocations: 4.594 kB / 0.5148 GB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008331/0.5598, allocations: 2.723 MB / 0.5175 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.5599, allocations: 10.59 kB / 0.5175 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008009/0.5679, allocations: 1.838 MB / 0.5193 GB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.5686, allocations: 144.8 kB / 0.5194 GB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.5851, allocations: 11.31 MB / 0.5305 GB, free: 41.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.5863, allocations: 48.06 kB / 0.5305 GB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.5864, allocations: 49.02 kB / 0.5306 GB, free: 41.36 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 (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.000811/0.5872, allocations: 447.1 kB / 0.531 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.5873, allocations: 109 kB / 0.5311 GB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.59, allocations: 1.647 MB / 0.5327 GB, free: 39.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5901, allocations: 19.92 kB / 0.5327 GB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5901, allocations: 0 / 0.5327 GB, free: 39.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5901, allocations: 7.984 kB / 0.5327 GB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.5941, allocations: 2.909 MB / 0.5356 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5941, allocations: 4 kB / 0.5356 GB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/0.595, allocations: 175.8 kB / 0.5358 GB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.5962, allocations: 391 kB / 0.5361 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.5963, allocations: 27.97 kB / 0.5362 GB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004301/0.6006, allocations: 6.298 MB / 0.5423 GB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6006, allocations: 7.75 kB / 0.5423 GB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.6037, allocations: 2.304 MB / 0.5446 GB, free: 26.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.6041, allocations: 278 kB / 0.5448 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6043, allocations: 24 kB / 0.5448 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.6048, allocations: 47.95 kB / 0.5449 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.605, allocations: 68.89 kB / 0.545 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.6051, allocations: 27.98 kB / 0.545 GB, free: 26.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006936/0.6058, allocations: 0.5854 MB / 0.5456 GB, free: 25.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6058, allocations: 4 kB / 0.5456 GB, free: 25.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002088/0.6079, allocations: 0.5563 MB / 0.5461 GB, free: 24.86 MB / 382.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.001004/0.6089, allocations: 425.8 kB / 0.5465 GB, free: 24.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005809/0.6147, allocations: 3.205 MB / 0.5496 GB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6148, allocations: 5.188 kB / 0.5496 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.6163, allocations: 1.143 MB / 0.5508 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.6177, allocations: 262.1 kB / 0.551 GB, free: 19.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.6219, allocations: 3.68 MB / 0.5546 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.6226, allocations: 1.246 MB / 0.5558 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.6229, allocations: 87.39 kB / 0.5559 GB, free: 14.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6229, allocations: 0 / 0.5559 GB, free: 14.84 MB / 382.1 MB Notification: Performance of Templates: time 0.03654/0.6594, allocations: 32.28 MB / 0.5874 GB, free: 14.59 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile make -j1 -f PowerSystems_latest_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrolCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrolCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrolCalcHelperMain.o] Error 1