Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.000863, allocations: 92.12 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.0008106/0.0008109, allocations: 179.2 kB / 17.84 MB, free: 5.617 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.547/1.547, 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.18/0.18, allocations: 38.05 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.0005336/0.0005337, allocations: 12.22 kB / 377.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2996, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005291/0.305, allocations: 6.764 MB / 440.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.3091, allocations: 4.155 MB / 444.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.3093, allocations: 15.94 kB / 444.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.3097, allocations: 135 kB / 444.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3112, allocations: 0.8795 MB / 445.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.3118, allocations: 243.3 kB / 445.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.3131, allocations: 1.913 MB / 447.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.3147, allocations: 1.183 MB / 448.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.3153, allocations: 485.7 kB / 449.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.316, allocations: 0.662 MB / 449.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.3161, allocations: 39.94 kB / 449.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.3173, allocations: 0.7363 MB / 450.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.3176, allocations: 442.9 kB / 451.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3178, allocations: 169.3 kB / 451.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008679/0.3186, allocations: 1.033 MB / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3186, allocations: 0 / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3187, allocations: 0 / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3187, allocations: 3.938 kB / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001427/0.3201, allocations: 0.9951 MB / 453.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3202, allocations: 8.031 kB / 453.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.3229, allocations: 390.5 kB / 453.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.3236, allocations: 469.6 kB / 454.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.3237, allocations: 53.98 kB / 454.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.3238, allocations: 71.98 kB / 454.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3257, allocations: 1.168 MB / 455.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.3257, allocations: 3.906 kB / 455.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.3258, allocations: 35.94 kB / 455.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3259, allocations: 81.94 kB / 455.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.3277, allocations: 1.233 MB / 456.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.3332, allocations: 3.527 MB / 460.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.3348, allocations: 1.057 MB / 461.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.3357, allocations: 0.6528 MB / 462 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.3358, allocations: 16.97 kB / 462 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.3358, allocations: 51.78 kB / 462.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.226e-06/0.3358, allocations: 0 / 462.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006366/0.3422, allocations: 3.052 MB / 465.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.3423, allocations: 94.05 kB / 465.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.3428, allocations: 361.5 kB / 465.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.3428, allocations: 41.7 kB / 465.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.3431, allocations: 316.1 kB / 465.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.3435, allocations: 319.4 kB / 466.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.3436, allocations: 16 kB / 466.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.3439, allocations: 366.8 kB / 466.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.3445, allocations: 465.8 kB / 467.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/0.3453, allocations: 0.5657 MB / 467.6 MB, free: 228 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.3461, allocations: 0.5417 MB / 468.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3461, allocations: 3.938 kB / 468.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002363/0.3485, allocations: 1.465 MB / 469.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3485, allocations: 8 kB / 469.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3485, allocations: 192 / 469.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.3494, allocations: 344.6 kB / 470 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.3501, allocations: 187.7 kB / 470.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.3551, allocations: 3.864 MB / 474 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.3555, allocations: 51.94 kB / 474.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.3556, allocations: 31.98 kB / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004125/0.356, allocations: 289.6 kB / 474.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.3561, allocations: 55.34 kB / 474.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.3587, allocations: 1.574 MB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.3587, allocations: 12 kB / 476.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3587, allocations: 4 kB / 476.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.3587, allocations: 3.984 kB / 476.1 MB, free: 7.605 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.3634, allocations: 3.017 MB / 479.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3634, allocations: 8.031 kB / 479.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.364, allocations: 175.7 kB / 479.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007058/0.3647, allocations: 276.6 kB / 479.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.3648, allocations: 27.98 kB / 479.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/0.3694, allocations: 3.606 MB / 483.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3694, allocations: 4 kB / 483.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.3718, allocations: 1.588 MB / 484.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.3721, allocations: 148.3 kB / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.3722, allocations: 23.94 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3726, allocations: 43.95 kB / 485 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.3727, allocations: 88.78 kB / 485.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.3728, allocations: 31.98 kB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.3731, allocations: 255.2 kB / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3731, allocations: 0 / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3742, allocations: 308 kB / 485.6 MB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.3743, allocations: 123.1 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.3764, allocations: 1.385 MB / 487.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3764, allocations: 0 / 487.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3776, allocations: 0.8438 MB / 488 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006972/0.3783, allocations: 106.8 kB / 488.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3814, allocations: 2.176 MB / 490.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/0.3822, allocations: 1.072 MB / 491.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.3824, allocations: 71.39 kB / 491.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3824, allocations: 0 / 491.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01614/0.3985, allocations: 12.14 MB / 0.4917 GB, free: 11.62 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.Generic.Network.NetworkLoop_dqCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.o] Error 1