Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008227/0.0008228, allocations: 92.88 kB / 16.95 MB, free: 5.953 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.0008329/0.0008329, allocations: 178.8 kB / 17.84 MB, free: 5.621 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.573/1.573, 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.1698/0.1698, allocations: 38.04 MB / 310.3 MB, free: 6.039 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.0005222/0.0005223, allocations: 23.06 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 56.32 MB / 433.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004597/0.2767, allocations: 5.136 MB / 438.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.2795, allocations: 2.012 MB / 440.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.28, allocations: 31.81 kB / 440.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.2804, allocations: 131.1 kB / 440.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008598/0.2813, allocations: 350 kB / 441.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2818, allocations: 190.8 kB / 441.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.2825, allocations: 0.7122 MB / 442 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000356/0.2829, allocations: 313.1 kB / 442.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.2832, allocations: 242.9 kB / 442.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.2835, allocations: 262.9 kB / 442.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.2835, allocations: 27.98 kB / 442.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.2837, allocations: 63.98 kB / 442.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.2838, allocations: 119.6 kB / 443 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.2839, allocations: 121.4 kB / 443.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.2842, allocations: 0.4948 MB / 443.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2842, allocations: 0 / 443.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2843, allocations: 0 / 443.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2843, allocations: 0 / 443.6 MB, free: 8.77 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001125/0.2854, allocations: 0.7571 MB / 444.4 MB, free: 7.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2854, allocations: 12.03 kB / 444.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.2855, allocations: 55.34 kB / 444.5 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.2861, allocations: 442 kB / 444.9 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2861, allocations: 25 kB / 444.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.2862, allocations: 47.89 kB / 445 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.2868, allocations: 453.1 kB / 445.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2868, allocations: 3.938 kB / 445.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.2868, allocations: 19.95 kB / 445.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2869, allocations: 12 kB / 445.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.2872, allocations: 278.3 kB / 445.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.2888, allocations: 1.867 MB / 447.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.2892, allocations: 244.2 kB / 447.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2893, allocations: 90.92 kB / 447.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.2894, allocations: 8.188 kB / 447.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.2896, allocations: 174.4 kB / 448.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.2896, allocations: 4 kB / 448.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001346/0.291, allocations: 0.9053 MB / 449 MB, free: 3.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.291, allocations: 136.5 kB / 449.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.2914, allocations: 397.9 kB / 449.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2914, allocations: 33.7 kB / 449.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2915, allocations: 263.8 kB / 449.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.2916, allocations: 94.64 kB / 449.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.2916, allocations: 8 kB / 449.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.2917, allocations: 358.8 kB / 450.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2918, allocations: 83.95 kB / 450.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.292, allocations: 208.2 kB / 450.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.2921, allocations: 115.9 kB / 450.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2921, allocations: 0 / 450.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006377/0.2928, allocations: 425.4 kB / 451.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2928, allocations: 8 kB / 451.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2928, allocations: 4.531 kB / 451.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.2932, allocations: 96.75 kB / 451.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2934, allocations: 71.84 kB / 451.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.2955, allocations: 1.815 MB / 453.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2957, allocations: 23.98 kB / 453.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.2957, allocations: 12 kB / 453.1 MB, free: 14.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (37): * Single equations (assignments): 36 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.296, allocations: 201.6 kB / 453.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.296, allocations: 39.53 kB / 453.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.2966, allocations: 302.4 kB / 453.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.2966, allocations: 7.938 kB / 453.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2966, allocations: 7.938 kB / 453.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2967, allocations: 0 / 453.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2978, allocations: 0.7723 MB / 454.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2978, allocations: 4 kB / 454.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.298, allocations: 43.98 kB / 454.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.2982, allocations: 52.73 kB / 454.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.2982, allocations: 11.94 kB / 454.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.2995, allocations: 1.429 MB / 456 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2995, allocations: 3.938 kB / 456 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.3003, allocations: 0.4901 MB / 456.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.3005, allocations: 140.6 kB / 456.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.3006, allocations: 7.984 kB / 456.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3008, allocations: 16 kB / 456.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.3008, allocations: 23.92 kB / 456.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.3009, allocations: 19.98 kB / 456.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.3012, allocations: 275.1 kB / 456.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3012, allocations: 0 / 456.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.3017, allocations: 104 kB / 457 MB, free: 10.49 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,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 (24): * Single equations (assignments): 22 * 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.0008929/0.3026, allocations: 394 kB / 457.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008677/0.3035, allocations: 395.2 kB / 457.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3035, allocations: 0 / 457.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.3038, allocations: 246.5 kB / 458 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.3045, allocations: 122.2 kB / 458.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3064, allocations: 1.391 MB / 459.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.3069, allocations: 0.858 MB / 460.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.307, allocations: 39.42 kB / 460.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.307, allocations: 0 / 460.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of Templates: time 0.01084/0.3178, allocations: 8.136 MB / 468.6 MB, free: 14.89 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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_serCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_serCalcHelperMain.o] Error 1