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.00111/0.00111, allocations: 109.1 kB / 17.16 MB, free: 6.324 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.001314/0.001314, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.192/1.192, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1543/0.1543, allocations: 37.99 MB / 309.3 MB, free: 6.246 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.001153/0.001153, allocations: 67.03 kB / 375.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1806, allocations: 55.24 MB / 430.5 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005379/0.186, allocations: 6.083 MB / 436.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.1901, allocations: 4.414 MB / 441 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1903, allocations: 31.81 kB / 441 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.1958, allocations: 4.701 MB / 445.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1962, allocations: 310.7 kB / 446 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1965, allocations: 199.7 kB / 446.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1978, allocations: 2.059 MB / 448.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.1983, allocations: 0.4977 MB / 448.8 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1985, allocations: 310.7 kB / 449.1 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.1988, allocations: 430.4 kB / 449.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.1989, allocations: 36 kB / 449.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.199, allocations: 43.94 kB / 449.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1991, allocations: 231.3 kB / 449.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.1993, allocations: 302.5 kB / 450.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.1998, allocations: 0.6393 MB / 450.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1998, allocations: 0 / 450.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1998, allocations: 0 / 450.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1998, allocations: 4 kB / 450.7 MB, free: 15.65 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.001343/0.2012, allocations: 0.8589 MB / 451.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2012, allocations: 12.03 kB / 451.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.2014, allocations: 72.19 kB / 451.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000802/0.2022, allocations: 0.5528 MB / 452.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2023, allocations: 29 kB / 452.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.2024, allocations: 51.98 kB / 452.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.2032, allocations: 0.6297 MB / 453 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.2032, allocations: 3.938 kB / 453 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.2033, allocations: 16 kB / 453 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.2034, allocations: 52.97 kB / 453 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.2041, allocations: 463.6 kB / 453.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.2066, allocations: 2.522 MB / 456 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.207, allocations: 281.2 kB / 456.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.2072, allocations: 142.2 kB / 456.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2072, allocations: 4 kB / 456.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2073, allocations: 38.56 kB / 456.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 3.196e-06/0.2073, allocations: 4 kB / 456.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0025/0.2098, allocations: 1.543 MB / 458 MB, free: 7.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.2098, allocations: 81.05 kB / 458.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.2102, allocations: 413.9 kB / 458.5 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.2103, allocations: 33.7 kB / 458.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2104, allocations: 299.5 kB / 458.8 MB, free: 7.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.2105, allocations: 110.4 kB / 458.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2106, allocations: 86.03 kB / 459 MB, free: 6.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2108, allocations: 354.7 kB / 459.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.211, allocations: 144.8 kB / 459.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.2112, allocations: 270.3 kB / 459.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.2118, allocations: 461.9 kB / 460.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2118, allocations: 4 kB / 460.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009562/0.2127, allocations: 0.6713 MB / 460.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2127, allocations: 8 kB / 460.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2128, allocations: 4 kB / 460.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.2132, allocations: 157.5 kB / 461 MB, free: 4.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2134, allocations: 72.19 kB / 461.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.2162, allocations: 3.397 MB / 464.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.2164, allocations: 16 kB / 464.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.2164, allocations: 19.98 kB / 464.5 MB, free: 0.9453 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 (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.0002346/0.2167, allocations: 245.5 kB / 464.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.2167, allocations: 43.44 kB / 464.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/0.2176, allocations: 0.5753 MB / 465.4 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2176, allocations: 8.078 kB / 465.4 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000672/0.2183, allocations: 490.3 kB / 465.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2183, allocations: 0 / 465.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.2196, allocations: 0.9933 MB / 466.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2196, allocations: 4 kB / 466.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.2198, allocations: 43.91 kB / 466.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.22, allocations: 84.78 kB / 467 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2201, allocations: 8 kB / 467 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.2217, allocations: 1.859 MB / 468.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2217, allocations: 3.984 kB / 468.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.2225, allocations: 0.6512 MB / 469.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2227, allocations: 140.5 kB / 469.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.2227, allocations: 11.98 kB / 469.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2229, allocations: 4 kB / 469.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.2229, allocations: 27.91 kB / 469.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.223, allocations: 15.94 kB / 469.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.2233, allocations: 303.2 kB / 470 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2233, allocations: 0 / 470 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000416/0.2237, allocations: 120 kB / 470.1 MB, free: 11.01 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 9.371e-05/0.2238, allocations: 107.1 kB / 470.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008213/0.2246, allocations: 0.6068 MB / 470.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2246, allocations: 0 / 470.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.225, allocations: 299.3 kB / 471.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.2256, allocations: 118.4 kB / 471.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.2273, allocations: 1.396 MB / 472.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.2277, allocations: 0.9167 MB / 473.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.2278, allocations: 35.42 kB / 473.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2278, allocations: 0 / 473.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Templates: time 0.01087/0.2387, allocations: 9.935 MB / 483.5 MB, free: 13.48 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