Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000844/0.000844, allocations: 91.95 kB / 16.95 MB, free: 5.59 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.0008811/0.0008812, allocations: 185.8 kB / 17.85 MB, free: 5.262 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.597/1.597, 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.1716/0.1716, allocations: 38.06 MB / 310.3 MB, free: 6.027 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.0004946/0.0004946, allocations: 16 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005196/0.2616, allocations: 5.366 MB / 438.8 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.267, allocations: 3.989 MB / 442.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.2676, allocations: 31.81 kB / 442.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007073/0.2747, allocations: 4.386 MB / 447.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.2759, allocations: 358.2 kB / 447.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.2765, allocations: 187.7 kB / 447.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.2782, allocations: 1.77 MB / 449.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.2791, allocations: 0.6342 MB / 450.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.2794, allocations: 302.7 kB / 450.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.2799, allocations: 394.6 kB / 450.9 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.2799, allocations: 28 kB / 450.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2801, allocations: 39.98 kB / 450.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2803, allocations: 219.4 kB / 451.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2804, allocations: 141.4 kB / 451.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.2808, allocations: 0.6234 MB / 451.9 MB, free: 312 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2808, allocations: 0 / 451.9 MB, free: 312 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2808, allocations: 0 / 451.9 MB, free: 312 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.2808, allocations: 0 / 451.9 MB, free: 312 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001326/0.2822, allocations: 0.7694 MB / 452.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2822, allocations: 12.03 kB / 452.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.2825, allocations: 71.02 kB / 452.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.2834, allocations: 0.5328 MB / 453.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.2834, allocations: 33 kB / 453.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.2835, allocations: 43.98 kB / 453.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/0.2845, allocations: 0.6297 MB / 454 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2845, allocations: 0 / 454 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.2846, allocations: 27.92 kB / 454 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.2847, allocations: 44.97 kB / 454.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.2854, allocations: 471.5 kB / 454.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.2884, allocations: 2.515 MB / 457 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.2889, allocations: 281.1 kB / 457.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2891, allocations: 137.7 kB / 457.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.2891, allocations: 8.484 kB / 457.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.2892, allocations: 42.55 kB / 457.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.2892, allocations: 0 / 457.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002922/0.2921, allocations: 1.58 MB / 459.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.2922, allocations: 81.11 kB / 459.2 MB, free: 8.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2927, allocations: 417.7 kB / 459.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2927, allocations: 33.7 kB / 459.6 MB, free: 8.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.293, allocations: 299.6 kB / 459.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.2931, allocations: 110.4 kB / 460 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.2931, allocations: 12 kB / 460 MB, free: 7.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.2933, allocations: 354.8 kB / 460.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.2935, allocations: 128.8 kB / 460.5 MB, free: 7.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.2938, allocations: 278.8 kB / 460.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.2941, allocations: 180.1 kB / 460.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2941, allocations: 4 kB / 460.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001017/0.2951, allocations: 0.6751 MB / 461.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.2952, allocations: 8 kB / 461.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-05/0.2952, allocations: 11.92 kB / 461.6 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.2957, allocations: 153.9 kB / 461.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.296, allocations: 75.83 kB / 461.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.2994, allocations: 3.385 MB / 465.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.2997, allocations: 16 kB / 465.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.2997, allocations: 19.98 kB / 465.3 MB, free: 2.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * 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 initialization (42): * Single equations (assignments): 40 * 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: 2 {(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003324/0.3001, allocations: 241.8 kB / 465.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.3002, allocations: 51.42 kB / 465.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.3011, allocations: 0.5752 MB / 466.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3011, allocations: 4 kB / 466.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007852/0.3019, allocations: 486.3 kB / 466.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3019, allocations: 4.031 kB / 466.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.3035, allocations: 1.005 MB / 467.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3035, allocations: 0 / 467.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.3037, allocations: 44.06 kB / 467.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.304, allocations: 92.72 kB / 467.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.304, allocations: 8 kB / 467.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.306, allocations: 1.859 MB / 469.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.306, allocations: 4.031 kB / 469.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008889/0.3069, allocations: 0.6399 MB / 470.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.307, allocations: 132.5 kB / 470.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.3071, allocations: 16.05 kB / 470.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3073, allocations: 8 kB / 470.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3074, allocations: 31.94 kB / 470.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3074, allocations: 4 kB / 470.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.3077, allocations: 299.1 kB / 470.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3078, allocations: 0 / 470.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000623/0.3084, allocations: 120 kB / 470.9 MB, free: 12.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * 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 (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.3085, allocations: 111.1 kB / 471 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3096, allocations: 0.6153 MB / 471.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3096, allocations: 3.938 kB / 471.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.31, allocations: 294.6 kB / 471.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.3107, allocations: 118.6 kB / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3128, allocations: 1.428 MB / 473.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.3134, allocations: 0.9128 MB / 474.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.3135, allocations: 39.42 kB / 474.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3135, allocations: 0 / 474.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of Templates: time 0.0136/0.3271, allocations: 9.886 MB / 484.3 MB, free: 14.64 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.ASMcharacteristicCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristicCalcHelperMain.o] Error 1