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.0009931/0.0009933, allocations: 85.08 kB / 17.3 MB, free: 5.949 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.001216/0.001216, allocations: 175.3 kB / 18.21 MB, free: 5.426 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.83/1.83, allocations: 205.4 MB / 224.4 MB, free: 12.92 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1926/0.1926, allocations: 38.05 MB / 310.7 MB, free: 5.973 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.0005564/0.0005562, allocations: 12 kB / 377.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3028, allocations: 56.34 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005463/0.3083, allocations: 5.651 MB / 439.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006001/0.3144, allocations: 4.325 MB / 444.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.315, allocations: 35.75 kB / 444.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007081/0.3221, allocations: 4.578 MB / 448.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.323, allocations: 306.7 kB / 449 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3235, allocations: 195.7 kB / 449.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.3251, allocations: 2.062 MB / 451.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.326, allocations: 0.6935 MB / 452 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.3263, allocations: 290.8 kB / 452.3 MB, free: 492 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.3267, allocations: 406.4 kB / 452.7 MB, free: 84 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.3268, allocations: 31.98 kB / 452.7 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3269, allocations: 28 kB / 452.7 MB, free: 24 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.3272, allocations: 231.4 kB / 452.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.3275, allocations: 308.2 kB / 453.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.3281, allocations: 0.6272 MB / 453.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3282, allocations: 0 / 453.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3282, allocations: 0 / 453.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3282, allocations: 0 / 453.9 MB, free: 14.86 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001536/0.3297, allocations: 0.7578 MB / 454.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3298, allocations: 8.031 kB / 454.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.3301, allocations: 76.17 kB / 454.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/0.331, allocations: 0.5527 MB / 455.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.331, allocations: 29 kB / 455.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.3311, allocations: 51.89 kB / 455.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.3321, allocations: 0.6258 MB / 456 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.3321, allocations: 7.938 kB / 456 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/0.3322, allocations: 16 kB / 456 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.3323, allocations: 44.97 kB / 456 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.333, allocations: 467.6 kB / 456.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.3361, allocations: 2.526 MB / 459 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.3365, allocations: 277.2 kB / 459.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3368, allocations: 142.2 kB / 459.4 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.3368, allocations: 4 kB / 459.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3369, allocations: 46.5 kB / 459.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.3369, allocations: 0 / 459.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002826/0.3397, allocations: 1.535 MB / 461 MB, free: 7.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.3398, allocations: 89.17 kB / 461.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.3402, allocations: 417.7 kB / 461.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.3403, allocations: 33.7 kB / 461.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.3405, allocations: 307.5 kB / 461.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.3406, allocations: 106.4 kB / 462 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.3407, allocations: 37.7 kB / 462 MB, free: 6.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3408, allocations: 362.7 kB / 462.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.3411, allocations: 132.8 kB / 462.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.3414, allocations: 282.3 kB / 462.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.3419, allocations: 461.8 kB / 463.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.342, allocations: 4 kB / 463.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001016/0.343, allocations: 0.6753 MB / 463.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.343, allocations: 4 kB / 463.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.343, allocations: 11.94 kB / 463.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004296/0.3435, allocations: 153.5 kB / 464 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3438, allocations: 67.91 kB / 464.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/0.3471, allocations: 3.401 MB / 467.5 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3474, allocations: 12 kB / 467.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.3474, allocations: 16 kB / 467.5 MB, free: 292 kB / 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 (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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.3478, allocations: 253.5 kB / 467.8 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.3479, allocations: 43.48 kB / 467.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.3489, allocations: 0.5752 MB / 468.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.3489, allocations: 7.938 kB / 468.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007801/0.3497, allocations: 494.3 kB / 468.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3497, allocations: 4 kB / 468.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3512, allocations: 0.9934 MB / 469.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3512, allocations: 7.984 kB / 469.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.3514, allocations: 35.92 kB / 469.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.3517, allocations: 92.78 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3517, allocations: 8.078 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.3536, allocations: 1.855 MB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3536, allocations: 4.031 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.3545, allocations: 0.6473 MB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3547, allocations: 144.5 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3548, allocations: 11.94 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.355, allocations: 11.98 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.355, allocations: 27.91 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3551, allocations: 8.062 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.3554, allocations: 303.1 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3554, allocations: 0 / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005501/0.356, allocations: 120 kB / 473.2 MB, free: 10.34 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 (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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.3561, allocations: 99.19 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3572, allocations: 0.6105 MB / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3572, allocations: 0 / 473.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.3577, allocations: 303.5 kB / 474.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.3584, allocations: 106.3 kB / 474.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.3609, allocations: 1.457 MB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.3617, allocations: 0.9283 MB / 476.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3619, allocations: 35.44 kB / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3619, allocations: 0 / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of Templates: time 0.01569/0.3776, allocations: 9.874 MB / 486.6 MB, free: 12.81 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++ -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.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