Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008356, allocations: 93.48 kB / 17.31 MB, free: 6.109 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.001142/0.001142, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.821/1.821, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.206/0.206, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0005527/0.0005528, allocations: 12 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.311, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004598/0.3156, allocations: 4.779 MB / 438.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3175, allocations: 1.703 MB / 440.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.3178, allocations: 27.81 kB / 440.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.3182, allocations: 111.3 kB / 440.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.3186, allocations: 246.7 kB / 441 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.3188, allocations: 95.89 kB / 441.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.3195, allocations: 0.6418 MB / 441.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3197, allocations: 135.5 kB / 441.9 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3199, allocations: 159.2 kB / 442 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3201, allocations: 203.1 kB / 442.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3202, allocations: 12 kB / 442.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.3202, allocations: 19.94 kB / 442.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.3203, allocations: 95.64 kB / 442.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3205, allocations: 188.8 kB / 442.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3207, allocations: 283.2 kB / 442.8 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3207, allocations: 4 kB / 442.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3207, allocations: 4 kB / 442.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3207, allocations: 0 / 442.8 MB, free: 9.98 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008261/0.3216, allocations: 0.5855 MB / 443.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3216, allocations: 8.031 kB / 443.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.3217, allocations: 44.47 kB / 443.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.3221, allocations: 387.5 kB / 443.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3222, allocations: 28.5 kB / 443.9 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.3222, allocations: 27.98 kB / 443.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.3226, allocations: 330.2 kB / 444.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3227, allocations: 0 / 444.2 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3227, allocations: 12 kB / 444.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3227, allocations: 8 kB / 444.2 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.323, allocations: 201.5 kB / 444.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3242, allocations: 1.501 MB / 445.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.3245, allocations: 202.4 kB / 446.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.3246, allocations: 79.41 kB / 446.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3247, allocations: 0 / 446.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3247, allocations: 38.56 kB / 446.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.3247, allocations: 0 / 446.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009101/0.3256, allocations: 0.6814 MB / 446.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.3257, allocations: 128.5 kB / 447 MB, free: 5.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.326, allocations: 325.5 kB / 447.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.326, allocations: 25.7 kB / 447.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3261, allocations: 211.8 kB / 447.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3261, allocations: 75.39 kB / 447.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.3262, allocations: 33.7 kB / 447.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.3262, allocations: 338.8 kB / 448 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.3263, allocations: 51.97 kB / 448.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3264, allocations: 152.8 kB / 448.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3267, allocations: 217 kB / 448.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3267, allocations: 8 kB / 448.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002851/0.327, allocations: 248.9 kB / 448.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.327, allocations: 8 kB / 448.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.327, allocations: 4.438 kB / 448.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.327, allocations: 11.94 kB / 448.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.3273, allocations: 79.89 kB / 448.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006675/0.328, allocations: 1.286 MB / 450.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3282, allocations: 11.98 kB / 450.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3282, allocations: 19.94 kB / 450.1 MB, free: 2.051 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.3283, allocations: 165.6 kB / 450.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.3284, allocations: 39.55 kB / 450.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3287, allocations: 188.6 kB / 450.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3287, allocations: 0 / 450.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3287, allocations: 4 kB / 450.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3287, allocations: 0 / 450.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.3293, allocations: 0.5412 MB / 451 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3293, allocations: 0 / 451 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.3295, allocations: 43.92 kB / 451.1 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3295, allocations: 4 kB / 451.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3296, allocations: 8.031 kB / 451.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3296, allocations: 0 / 451.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3296, allocations: 0 / 451.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3299, allocations: 0.491 MB / 451.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.33, allocations: 112.7 kB / 451.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.33, allocations: 4 kB / 451.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3302, allocations: 8 kB / 451.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3302, allocations: 11.98 kB / 451.7 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3303, allocations: 8 kB / 451.7 MB, free: 324 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3304, allocations: 223.1 kB / 451.9 MB, free: 104 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3304, allocations: 4 kB / 452 MB, free: 100 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.3308, allocations: 60 kB / 452 MB, free: 40 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.3309, allocations: 95.3 kB / 452.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3313, allocations: 172.1 kB / 452.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3313, allocations: 0 / 452.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3314, allocations: 72.72 kB / 452.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.3322, allocations: 85.52 kB / 452.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3338, allocations: 1.07 MB / 453.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.3342, allocations: 0.8031 MB / 454.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.3342, allocations: 27.44 kB / 454.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3343, allocations: 0 / 454.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Templates: time 0.007229/0.3415, allocations: 4.667 MB / 459 MB, free: 8.977 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.AC1ph_DC.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o] Error 1