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.0009504/0.0009504, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.0009454/0.0009455, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.536/1.536, 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.1738/0.1738, allocations: 38.05 MB / 310.3 MB, free: 6.113 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.0005323/0.0005324, allocations: 19.12 kB / 377.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2834, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.00663/0.2901, allocations: 7.333 MB / 440.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.2947, allocations: 3.181 MB / 444 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006986/0.2954, allocations: 51.69 kB / 444 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.2961, allocations: 254.2 kB / 444.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.2973, allocations: 0.6219 MB / 444.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.2982, allocations: 377.6 kB / 445.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.2994, allocations: 1.57 MB / 446.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009898/0.3004, allocations: 0.9758 MB / 447.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.3008, allocations: 462 kB / 448.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005899/0.3014, allocations: 0.5721 MB / 448.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.3015, allocations: 52 kB / 448.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.3019, allocations: 271.5 kB / 449.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.3022, allocations: 331 kB / 449.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3024, allocations: 221.1 kB / 449.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.3032, allocations: 1.286 MB / 451 MB, free: 1.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3032, allocations: 4 kB / 451 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3032, allocations: 0 / 451 MB, free: 1.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3032, allocations: 0 / 451 MB, free: 1.219 MB / 318.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.001954/0.3052, allocations: 1.234 MB / 452.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3052, allocations: 8.031 kB / 452.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/0.3059, allocations: 170.5 kB / 452.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3071, allocations: 0.7693 MB / 453.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.3072, allocations: 62 kB / 453.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.3074, allocations: 99.89 kB / 453.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.3092, allocations: 1.153 MB / 454.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.3092, allocations: 0 / 454.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.043e-05/0.3093, allocations: 36 kB / 454.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.3094, allocations: 65.92 kB / 454.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.3109, allocations: 0.9524 MB / 455.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005538/0.3165, allocations: 4.652 MB / 460.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3175, allocations: 0.7025 MB / 460.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.3181, allocations: 340.5 kB / 461.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.3181, allocations: 16.55 kB / 461.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3182, allocations: 43.16 kB / 461.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 1.983e-06/0.3182, allocations: 0 / 461.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=62): time 0.004366/0.3226, allocations: 2.374 MB / 463.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.3227, allocations: 141.1 kB / 463.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.3235, allocations: 0.6801 MB / 464.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.3235, allocations: 41.7 kB / 464.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.3239, allocations: 490.8 kB / 465 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.3241, allocations: 220.8 kB / 465.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.3241, allocations: 16 kB / 465.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3243, allocations: 390.8 kB / 465.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.3248, allocations: 269.9 kB / 465.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.3254, allocations: 0.5198 MB / 466.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.3276, allocations: 0.8218 MB / 467.2 MB, free: 288 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3276, allocations: 0 / 467.2 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002805/0.3304, allocations: 1.402 MB / 468.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.3307, allocations: 315.9 kB / 468.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3307, allocations: 8 kB / 468.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.3321, allocations: 465.2 kB / 469.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.3326, allocations: 147.7 kB / 469.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/0.3409, allocations: 6.213 MB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.3414, allocations: 39.98 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.3415, allocations: 39.98 kB / 475.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.3415, allocations: 4 kB / 475.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002247/0.3437, allocations: 1.194 MB / 477 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3438, allocations: 8 kB / 477 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.345, allocations: 433.5 kB / 477.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.3455, allocations: 147.7 kB / 477.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/0.3529, allocations: 5.912 MB / 483.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.3535, allocations: 39.83 kB / 483.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.3536, allocations: 35.98 kB / 483.6 MB, free: 15.18 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 (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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0006837/0.3542, allocations: 407.5 kB / 484 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3544, allocations: 86.98 kB / 484.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.3557, allocations: 0.7382 MB / 484.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3557, allocations: 8 kB / 484.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3557, allocations: 0 / 484.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3557, allocations: 7.938 kB / 484.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.3582, allocations: 1.786 MB / 486.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3583, allocations: 0 / 486.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.3589, allocations: 143.9 kB / 486.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-05/0.359, allocations: 20.86 kB / 486.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.359, allocations: 15.98 kB / 486.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009359/0.36, allocations: 1.288 MB / 488.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.36, allocations: 0 / 488.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.3617, allocations: 1.217 MB / 489.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.362, allocations: 216.1 kB / 489.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.3621, allocations: 16 kB / 489.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.3625, allocations: 27.98 kB / 489.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.3626, allocations: 48.44 kB / 489.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.3626, allocations: 23.92 kB / 489.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005596/0.3632, allocations: 475 kB / 490.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 0 / 490.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001671/0.3649, allocations: 412 kB / 490.5 MB, free: 8.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004339/0.3653, allocations: 135.1 kB / 490.6 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003455/0.3688, allocations: 1.983 MB / 492.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3688, allocations: 0 / 492.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.3694, allocations: 442.6 kB / 493 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3704, allocations: 226 kB / 493.2 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.3738, allocations: 2.625 MB / 495.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.3745, allocations: 1.108 MB / 497 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3747, allocations: 67.41 kB / 497 MB, free: 1.297 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3747, allocations: 4 kB / 497 MB, free: 1.293 MB / 366.1 MB Notification: Performance of Templates: time 0.02287/0.3976, allocations: 18.94 MB / 0.5039 GB, free: 14.34 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++ 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.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