Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009225, allocations: 96.12 kB / 16.96 MB, free: 5.605 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.001061/0.001061, allocations: 186.6 kB / 17.85 MB, free: 5.277 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.589/1.589, 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.1707/0.1707, 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.0005114/0.0005115, allocations: 12 kB / 377.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2996, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004171/0.3039, allocations: 4.602 MB / 438.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3058, allocations: 1.466 MB / 439.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.3061, allocations: 23.81 kB / 439.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3064, allocations: 103.3 kB / 439.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.3069, allocations: 266.7 kB / 439.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.3073, allocations: 159.7 kB / 440.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.3079, allocations: 0.6581 MB / 440.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006715/0.3085, allocations: 0.5216 MB / 441.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3088, allocations: 211 kB / 441.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.3092, allocations: 267.2 kB / 441.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.3092, allocations: 16 kB / 441.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.3094, allocations: 83.81 kB / 441.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.3095, allocations: 179.5 kB / 442 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.3096, allocations: 105.5 kB / 442.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3099, allocations: 387 kB / 442.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3099, allocations: 0 / 442.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3099, allocations: 0 / 442.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3099, allocations: 0 / 442.5 MB, free: 9.754 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007894/0.3107, allocations: 0.625 MB / 443.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3107, allocations: 8.031 kB / 443.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.3112, allocations: 99.27 kB / 443.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.3117, allocations: 378.1 kB / 443.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3117, allocations: 32.98 kB / 443.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3118, allocations: 43.98 kB / 443.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.3124, allocations: 472.8 kB / 444.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3124, allocations: 0 / 444.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.3124, allocations: 19.94 kB / 444.1 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.615e-05/0.3125, allocations: 28.98 kB / 444.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.3129, allocations: 331.7 kB / 444.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.3145, allocations: 1.718 MB / 446.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3148, allocations: 145.1 kB / 446.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3149, allocations: 117.7 kB / 446.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3149, allocations: 4 kB / 446.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.3149, allocations: 34.5 kB / 446.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.3149, allocations: 0 / 446.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00114/0.3161, allocations: 0.8542 MB / 447.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.3161, allocations: 77.11 kB / 447.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.3164, allocations: 312.4 kB / 447.7 MB, free: 4.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3164, allocations: 25.7 kB / 447.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.3165, allocations: 247.5 kB / 448 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3165, allocations: 67.08 kB / 448.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.3165, allocations: 8 kB / 448.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/0.3166, allocations: 342.8 kB / 448.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3167, allocations: 96.22 kB / 448.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3169, allocations: 189.2 kB / 448.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3171, allocations: 132.6 kB / 448.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3171, allocations: 0 / 448.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006455/0.3177, allocations: 459.9 kB / 449.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3177, allocations: 8 kB / 449.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004545/0.3182, allocations: 284.5 kB / 449.6 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.3186, allocations: 128.9 kB / 449.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3188, allocations: 55.91 kB / 449.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.3208, allocations: 2.146 MB / 451.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.321, allocations: 24.02 kB / 451.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.321, allocations: 15.94 kB / 451.9 MB, free: 15.72 MB / 334.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 (29): * Single equations (assignments): 28 * 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.0003018/0.3213, allocations: 189.7 kB / 452.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.3214, allocations: 27.62 kB / 452.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/0.3218, allocations: 245.5 kB / 452.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3218, allocations: 0 / 452.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3218, allocations: 7.953 kB / 452.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3219, allocations: 7.984 kB / 452.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.323, allocations: 0.7155 MB / 453.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3231, allocations: 3.953 kB / 453.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.3233, allocations: 39.92 kB / 453.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.916e-05/0.3234, allocations: 36.89 kB / 453.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3234, allocations: 4 kB / 453.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.3248, allocations: 1.478 MB / 454.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3248, allocations: 0 / 454.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.3254, allocations: 418.5 kB / 455.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.3255, allocations: 104.9 kB / 455.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3255, allocations: 7.938 kB / 455.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3256, allocations: 11.98 kB / 455.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3257, allocations: 11.98 kB / 455.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3257, allocations: 4 kB / 455.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.3259, allocations: 215.1 kB / 455.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3259, allocations: 4 kB / 455.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.3264, allocations: 88 kB / 455.5 MB, free: 11.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001562/0.3266, allocations: 99.8 kB / 455.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006704/0.3273, allocations: 390.5 kB / 456 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3273, allocations: 0 / 456 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.3276, allocations: 233.9 kB / 456.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.3281, allocations: 76.75 kB / 456.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3296, allocations: 1.119 MB / 457.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.3301, allocations: 0.8419 MB / 458.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.3302, allocations: 23.44 kB / 458.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3302, allocations: 0 / 458.3 MB, free: 8.996 MB / 334.1 MB Notification: Performance of Templates: time 0.007859/0.338, allocations: 5.679 MB / 464 MB, free: 3.312 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o] Error 1