Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 94.97 kB / 16.96 MB, free: 6.461 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.0009221/0.0009221, allocations: 180.2 kB / 17.85 MB, free: 6 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.606/1.606, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1936/0.1936, allocations: 38.05 MB / 310.3 MB, free: 6.035 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.0005833/0.0005835, allocations: 12 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2558, allocations: 56.33 MB / 433.5 MB, free: 18.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004666/0.2605, allocations: 5.518 MB / 439 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.2656, allocations: 4.152 MB / 443.1 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.2661, allocations: 35.75 kB / 443.2 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.2769, allocations: 4.386 MB / 447.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.2779, allocations: 390.1 kB / 447.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.2785, allocations: 231.6 kB / 448.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.28, allocations: 1.797 MB / 450 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006509/0.2807, allocations: 0.4986 MB / 450.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.2809, allocations: 314.7 kB / 450.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.2814, allocations: 434.5 kB / 451.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.2814, allocations: 24 kB / 451.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.2816, allocations: 67.89 kB / 451.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2818, allocations: 255.3 kB / 451.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.2819, allocations: 145.3 kB / 451.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.2823, allocations: 0.5532 MB / 452.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2823, allocations: 0 / 452.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2823, allocations: 0 / 452.2 MB, free: 80 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2823, allocations: 0 / 452.2 MB, free: 80 kB / 318.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.001392/0.2837, allocations: 0.8081 MB / 453 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2837, allocations: 8.031 kB / 453.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.2841, allocations: 99.06 kB / 453.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.285, allocations: 0.5132 MB / 453.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.2851, allocations: 37 kB / 453.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.2852, allocations: 55.89 kB / 453.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.2861, allocations: 0.6375 MB / 454.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2861, allocations: 4 kB / 454.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.2862, allocations: 23.98 kB / 454.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.2863, allocations: 48.97 kB / 454.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.287, allocations: 491.5 kB / 454.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.2903, allocations: 2.535 MB / 457.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.2908, allocations: 323.5 kB / 457.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.2911, allocations: 178.5 kB / 458 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.2911, allocations: 8.484 kB / 458 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2911, allocations: 42.5 kB / 458 MB, free: 9.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.2912, allocations: 0 / 458 MB, free: 9.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002412/0.2936, allocations: 1.641 MB / 459.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.2936, allocations: 106.8 kB / 459.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.2941, allocations: 421.8 kB / 460.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2941, allocations: 33.7 kB / 460.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.2943, allocations: 311.7 kB / 460.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2944, allocations: 126.2 kB / 460.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.2945, allocations: 4 kB / 460.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2946, allocations: 362.8 kB / 461 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.2949, allocations: 157 kB / 461.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.2953, allocations: 305.8 kB / 461.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.2956, allocations: 207.6 kB / 461.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2956, allocations: 0 / 461.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0012/0.2968, allocations: 0.7996 MB / 462.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2968, allocations: 11.94 kB / 462.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2968, allocations: 4 kB / 462.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.2974, allocations: 201.8 kB / 462.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.2977, allocations: 79.89 kB / 462.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.3019, allocations: 3.886 MB / 466.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3022, allocations: 19.94 kB / 466.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3022, allocations: 19.98 kB / 466.7 MB, free: 0.7812 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * 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: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.3025, allocations: 237.6 kB / 466.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.3026, allocations: 47.44 kB / 466.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/0.3036, allocations: 0.6254 MB / 467.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3036, allocations: 4 kB / 467.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3036, allocations: 0 / 467.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3036, allocations: 8.016 kB / 467.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.3052, allocations: 1.195 MB / 468.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3053, allocations: 8.016 kB / 468.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.3057, allocations: 79.88 kB / 468.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.3058, allocations: 45.78 kB / 468.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.3059, allocations: 15.98 kB / 468.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.3078, allocations: 2.626 MB / 471.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3078, allocations: 0 / 471.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.309, allocations: 0.9568 MB / 472.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.3091, allocations: 148.5 kB / 472.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.3092, allocations: 19.98 kB / 472.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.3094, allocations: 8 kB / 472.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3095, allocations: 35.84 kB / 472.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.3096, allocations: 8 kB / 472.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.3099, allocations: 291.1 kB / 473 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3099, allocations: 0 / 473 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006392/0.3106, allocations: 132 kB / 473.1 MB, free: 9.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],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 (35): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.3107, allocations: 115.2 kB / 473.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.312, allocations: 0.7237 MB / 474 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.312, allocations: 0 / 474 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005316/0.3125, allocations: 418.3 kB / 474.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006953/0.3132, allocations: 113.4 kB / 474.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3157, allocations: 1.87 MB / 476.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/0.3163, allocations: 0.9483 MB / 477.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3164, allocations: 35.44 kB / 477.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 1.003e-05/0.3164, allocations: 0 / 477.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.01482/0.3313, allocations: 11.2 MB / 488.5 MB, free: 10.23 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.AC3ph.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.MachinesCalcHelperMain.o] Error 1