Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009273, allocations: 95.67 kB / 16.96 MB, free: 6.41 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.0008786/0.0008788, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.635/1.635, 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.1756/0.1756, allocations: 38.05 MB / 310.3 MB, free: 6.109 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.0006195/0.0006195, allocations: 16 kB / 377.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2815, allocations: 56.34 MB / 433.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003952/0.2855, allocations: 4.384 MB / 437.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2869, allocations: 1.116 MB / 439 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.2871, allocations: 23.81 kB / 439 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.2873, allocations: 63.52 kB / 439.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.2878, allocations: 266.7 kB / 439.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.288, allocations: 115.8 kB / 439.4 MB, free: 13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.2885, allocations: 0.6231 MB / 440.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.2887, allocations: 105.7 kB / 440.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2889, allocations: 187.1 kB / 440.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.2893, allocations: 259.2 kB / 440.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.2893, allocations: 12 kB / 440.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.2894, allocations: 12 kB / 440.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.2895, allocations: 139.6 kB / 440.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.2896, allocations: 85.52 kB / 440.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2898, allocations: 279.3 kB / 441.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2898, allocations: 0 / 441.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2898, allocations: 0 / 441.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2898, allocations: 3.938 kB / 441.1 MB, free: 11.31 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008552/0.2907, allocations: 0.6009 MB / 441.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2907, allocations: 12.03 kB / 441.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.2908, allocations: 39.48 kB / 441.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.2912, allocations: 354.6 kB / 442.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2912, allocations: 16.56 kB / 442.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.2913, allocations: 28 kB / 442.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.2917, allocations: 348.7 kB / 442.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2917, allocations: 3.938 kB / 442.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2917, allocations: 12 kB / 442.5 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.084e-05/0.2918, allocations: 36.48 kB / 442.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.2921, allocations: 234 kB / 442.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.2934, allocations: 1.378 MB / 444.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.2937, allocations: 161.1 kB / 444.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.2938, allocations: 101.7 kB / 444.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2939, allocations: 4 kB / 444.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2939, allocations: 42.45 kB / 444.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.2939, allocations: 0 / 444.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001058/0.295, allocations: 0.7626 MB / 445.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.295, allocations: 81.05 kB / 445.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2952, allocations: 292.5 kB / 445.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2953, allocations: 37.64 kB / 445.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.2954, allocations: 219.5 kB / 445.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.2954, allocations: 51.28 kB / 445.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/0.2954, allocations: 8.125 kB / 445.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2955, allocations: 342.8 kB / 446.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.2956, allocations: 59.95 kB / 446.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.2957, allocations: 168.8 kB / 446.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2958, allocations: 87.91 kB / 446.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2958, allocations: 4 kB / 446.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003721/0.2962, allocations: 325.9 kB / 446.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2962, allocations: 8.094 kB / 446.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2962, allocations: 7.984 kB / 446.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.2964, allocations: 48.77 kB / 446.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2966, allocations: 55.91 kB / 447 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009207/0.2975, allocations: 1.483 MB / 448.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2976, allocations: 12 kB / 448.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2977, allocations: 8 kB / 448.5 MB, free: 3.387 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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.2978, allocations: 173.6 kB / 448.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.2979, allocations: 31.8 kB / 448.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.2982, allocations: 236.2 kB / 448.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2982, allocations: 0 / 448.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2982, allocations: 11.88 kB / 448.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2982, allocations: 3.984 kB / 448.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.2989, allocations: 0.6366 MB / 449.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2989, allocations: 3.984 kB / 449.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.299, allocations: 24.03 kB / 449.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/0.2992, allocations: 64.69 kB / 449.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2992, allocations: 3.953 kB / 449.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000829/0.3, allocations: 1.491 MB / 451.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3001, allocations: 0 / 451.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.3004, allocations: 409.5 kB / 451.6 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.3005, allocations: 100.9 kB / 451.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.3006, allocations: 0 / 451.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3007, allocations: 11.98 kB / 451.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3007, allocations: 7.984 kB / 451.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3008, allocations: 11.94 kB / 451.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.301, allocations: 207.1 kB / 451.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.301, allocations: 0 / 451.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.3013, allocations: 71.98 kB / 452 MB, free: 15.65 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.3015, allocations: 103.2 kB / 452.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.302, allocations: 290.3 kB / 452.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.302, allocations: 0.875 kB / 452.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.3023, allocations: 210.6 kB / 452.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3028, allocations: 68.16 kB / 452.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3041, allocations: 0.9177 MB / 453.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3045, allocations: 0.8145 MB / 454.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.3046, allocations: 23.44 kB / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3046, allocations: 0 / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Templates: time 0.007247/0.3118, allocations: 4.827 MB / 459.2 MB, free: 8.312 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Elementary.ImpedanceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o] Error 1