Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_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.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 95.59 kB / 17.31 MB, free: 5.906 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.001154/0.001154, allocations: 178.6 kB / 18.21 MB, free: 5.398 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.827/1.827, allocations: 205.4 MB / 224.4 MB, free: 12.91 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2024/0.2024, allocations: 38.05 MB / 310.7 MB, free: 5.867 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.0005656/0.0005658, allocations: 23.28 kB / 377.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3549, allocations: 56.32 MB / 434.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.007398/0.3624, allocations: 7.741 MB / 441.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005463/0.3679, allocations: 3.343 MB / 445.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.3691, allocations: 59.62 kB / 445.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.3699, allocations: 230.5 kB / 445.5 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.3714, allocations: 0.5756 MB / 446.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009185/0.3723, allocations: 389.9 kB / 446.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.3739, allocations: 1.867 MB / 448.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.375, allocations: 1.098 MB / 449.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000482/0.3755, allocations: 453.9 kB / 449.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.3762, allocations: 0.5952 MB / 450.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.3763, allocations: 44 kB / 450.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.3767, allocations: 287.5 kB / 450.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.377, allocations: 326.9 kB / 451.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.3774, allocations: 0.5146 MB / 451.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000968/0.3784, allocations: 1.278 MB / 452.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3784, allocations: 3.938 kB / 452.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3784, allocations: 0 / 452.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3784, allocations: 0 / 452.9 MB, free: 15.77 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.002513/0.3809, allocations: 1.223 MB / 454.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.381, allocations: 12.03 kB / 454.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/0.3817, allocations: 167.5 kB / 454.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.3831, allocations: 0.7934 MB / 455.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.3832, allocations: 73.92 kB / 455.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.3834, allocations: 99.89 kB / 455.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3854, allocations: 1.157 MB / 456.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.3854, allocations: 3.938 kB / 456.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.3855, allocations: 36 kB / 456.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3856, allocations: 61.97 kB / 456.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.3873, allocations: 0.9524 MB / 457.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.3937, allocations: 4.652 MB / 462.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.3949, allocations: 0.6951 MB / 462.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.3955, allocations: 352 kB / 463.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.3956, allocations: 16.56 kB / 463.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.3957, allocations: 39.12 kB / 463.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.3957, allocations: 0 / 463.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=62): time 0.005166/0.4008, allocations: 2.374 MB / 465.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.401, allocations: 137.1 kB / 465.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009511/0.402, allocations: 0.6879 MB / 466.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.402, allocations: 37.7 kB / 466.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.4024, allocations: 494.8 kB / 466.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.4026, allocations: 216.9 kB / 467.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4028, allocations: 73.69 kB / 467.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.403, allocations: 390.7 kB / 467.6 MB, free: 492 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.4035, allocations: 277.8 kB / 467.9 MB, free: 212 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.4042, allocations: 0.5237 MB / 468.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/0.4079, allocations: 1.537 MB / 469.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4079, allocations: 0 / 469.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00321/0.4111, allocations: 1.414 MB / 471.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.4114, allocations: 315.7 kB / 471.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.4114, allocations: 8 kB / 471.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.413, allocations: 449.2 kB / 472.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.4136, allocations: 151.7 kB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009411/0.423, allocations: 6.24 MB / 478.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.4238, allocations: 43.91 kB / 478.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.4238, allocations: 32 kB / 478.6 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4239, allocations: 4 kB / 478.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002608/0.4265, allocations: 1.206 MB / 479.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4265, allocations: 8 kB / 479.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.4279, allocations: 429.6 kB / 480.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.4285, allocations: 143.8 kB / 480.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/0.4365, allocations: 5.936 MB / 486.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.4373, allocations: 39.92 kB / 486.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.4374, allocations: 32 kB / 486.4 MB, free: 12.77 MB / 366.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.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0008378/0.4383, allocations: 404.8 kB / 486.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.4385, allocations: 82.97 kB / 486.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.4399, allocations: 0.7421 MB / 487.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4399, allocations: 11.98 kB / 487.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4399, allocations: 0 / 487.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4399, allocations: 7.984 kB / 487.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.443, allocations: 1.782 MB / 489.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.443, allocations: 3.984 kB / 489.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.4437, allocations: 135.9 kB / 489.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.4438, allocations: 28.78 kB / 489.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.4438, allocations: 16 kB / 489.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.4449, allocations: 1.292 MB / 490.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4449, allocations: 0 / 490.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4468, allocations: 1.225 MB / 492.1 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.4471, allocations: 208.2 kB / 492.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.355e-05/0.4472, allocations: 15.98 kB / 492.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.4476, allocations: 35.92 kB / 492.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4478, allocations: 44.5 kB / 492.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.4478, allocations: 16 kB / 492.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006473/0.4485, allocations: 483 kB / 492.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4485, allocations: 0 / 492.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001631/0.4501, allocations: 408 kB / 493.3 MB, free: 5.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.0003663/0.4505, allocations: 146.5 kB / 493.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003749/0.4542, allocations: 1.987 MB / 495.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4543, allocations: 0 / 495.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006788/0.4549, allocations: 451.2 kB / 495.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4562, allocations: 226.6 kB / 496 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.4605, allocations: 2.675 MB / 498.7 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009362/0.4615, allocations: 1.112 MB / 499.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4617, allocations: 67.42 kB / 499.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4617, allocations: 4 kB / 499.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02919/0.4909, allocations: 18.93 MB / 0.5067 GB, free: 11.86 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_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.SM_ctrlAvCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAvCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAvCalcHelperMain.o] Error 1