Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008971, allocations: 94.95 kB / 16.95 MB, free: 5.578 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.0008891/0.0008891, allocations: 182.2 kB / 17.84 MB, free: 5.258 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.594/1.594, 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.1709/0.1709, allocations: 38.05 MB / 310.3 MB, free: 6.117 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.0005214/0.0005215, allocations: 16 kB / 377.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2706, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.004922/0.2755, allocations: 5.604 MB / 439.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.2781, allocations: 2.141 MB / 441.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.2785, allocations: 27.81 kB / 441.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.2789, allocations: 155 kB / 441.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008195/0.2797, allocations: 393.8 kB / 441.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.2803, allocations: 210.3 kB / 442 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.2811, allocations: 0.8915 MB / 442.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.2815, allocations: 370.1 kB / 443.2 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003677/0.2819, allocations: 286.8 kB / 443.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.2823, allocations: 306.8 kB / 443.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.2823, allocations: 31.94 kB / 443.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.2825, allocations: 71.97 kB / 443.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.2827, allocations: 155.5 kB / 444.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2828, allocations: 129.5 kB / 444.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.2832, allocations: 0.561 MB / 444.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2832, allocations: 0 / 444.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2832, allocations: 0 / 444.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2832, allocations: 0 / 444.8 MB, free: 7.508 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001272/0.2845, allocations: 0.8044 MB / 445.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2845, allocations: 11.98 kB / 445.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.2846, allocations: 63.25 kB / 445.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.2853, allocations: 481.8 kB / 446.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2853, allocations: 40.98 kB / 446.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.2854, allocations: 47.94 kB / 446.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.286, allocations: 0.5134 MB / 446.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2861, allocations: 4 kB / 446.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.2861, allocations: 16 kB / 446.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/0.2862, allocations: 16.98 kB / 446.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.2866, allocations: 335.6 kB / 447.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.2884, allocations: 2.078 MB / 449.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.2888, allocations: 227.9 kB / 449.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2889, allocations: 82.97 kB / 449.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2889, allocations: 7.984 kB / 449.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.2891, allocations: 174 kB / 449.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.2891, allocations: 0 / 449.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001323/0.2905, allocations: 0.9174 MB / 450.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.2905, allocations: 136.5 kB / 450.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.2909, allocations: 425.8 kB / 451.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.2909, allocations: 29.7 kB / 451.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.291, allocations: 295.7 kB / 451.4 MB, free: 444 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.2911, allocations: 98.58 kB / 451.5 MB, free: 344 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.2911, allocations: 8 kB / 451.5 MB, free: 336 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.2912, allocations: 350.8 kB / 451.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2914, allocations: 88.83 kB / 452 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.2916, allocations: 222 kB / 452.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.2918, allocations: 116 kB / 452.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2919, allocations: 7.938 kB / 452.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007943/0.2927, allocations: 429.5 kB / 452.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2927, allocations: 8 kB / 452.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.2927, allocations: 4 kB / 452.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003831/0.2931, allocations: 101.3 kB / 452.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.2933, allocations: 71.91 kB / 452.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.2955, allocations: 1.702 MB / 454.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.2957, allocations: 24.05 kB / 454.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.2958, allocations: 16 kB / 454.6 MB, free: 13 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.296, allocations: 213.6 kB / 454.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.2961, allocations: 39.53 kB / 454.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.2967, allocations: 289.9 kB / 455.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2967, allocations: 3.953 kB / 455.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2967, allocations: 8 kB / 455.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2967, allocations: 0 / 455.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2978, allocations: 0.7687 MB / 455.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2978, allocations: 0 / 455.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.2981, allocations: 47.91 kB / 456 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.2983, allocations: 52.81 kB / 456 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2983, allocations: 7.984 kB / 456.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.2995, allocations: 1.445 MB / 457.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2995, allocations: 0 / 457.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.3002, allocations: 477.2 kB / 458 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3003, allocations: 136.7 kB / 458.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.3004, allocations: 8 kB / 458.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3006, allocations: 19.98 kB / 458.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.3007, allocations: 23.92 kB / 458.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3007, allocations: 4 kB / 458.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003497/0.3011, allocations: 299.1 kB / 458.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3011, allocations: 0 / 458.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.3016, allocations: 115.9 kB / 458.6 MB, free: 8.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008438/0.3024, allocations: 397.4 kB / 458.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.3031, allocations: 375.3 kB / 459.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3031, allocations: 4 kB / 459.3 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.3035, allocations: 238.7 kB / 459.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.3042, allocations: 133.8 kB / 459.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3061, allocations: 1.52 MB / 461.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3066, allocations: 0.8818 MB / 462.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3067, allocations: 39.38 kB / 462.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of SimCode: time 1.723e-06/0.3067, allocations: 4 kB / 462.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Templates: time 0.01209/0.3188, allocations: 8.751 MB / 470.9 MB, free: 12.45 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_parCalcHelperMain.o] Error 1