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.0008738/0.0008738, allocations: 91.75 kB / 17.31 MB, free: 5.59 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.0008722/0.0008722, allocations: 182.4 kB / 18.21 MB, free: 5.191 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.83/1.83, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1761/0.1761, allocations: 38.06 MB / 310.7 MB, free: 5.895 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.0005576/0.0005577, allocations: 16 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3524, allocations: 56.34 MB / 434.2 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005581/0.358, allocations: 7.185 MB / 441.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005018/0.3631, allocations: 4.453 MB / 445.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.3634, allocations: 15.94 kB / 445.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.3637, allocations: 131.1 kB / 445.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.3657, allocations: 1.141 MB / 447.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.3663, allocations: 283.3 kB / 447.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3679, allocations: 2.588 MB / 449.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.3698, allocations: 1.268 MB / 451.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.3705, allocations: 469.8 kB / 451.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006664/0.3712, allocations: 0.6852 MB / 452.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.3712, allocations: 32 kB / 452.4 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.3737, allocations: 1.59 MB / 454 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004374/0.3741, allocations: 439 kB / 454.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.3746, allocations: 423.6 kB / 454.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.376, allocations: 1.08 MB / 455.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.376, allocations: 3.938 kB / 455.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.376, allocations: 0 / 455.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3761, allocations: 0 / 455.9 MB, free: 12.81 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.001669/0.3777, allocations: 0.9797 MB / 456.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3778, allocations: 8.031 kB / 456.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002974/0.3808, allocations: 395.4 kB / 457.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.3815, allocations: 478.6 kB / 457.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.3816, allocations: 54.36 kB / 457.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3817, allocations: 76.3 kB / 457.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.3837, allocations: 1.18 MB / 459 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.3838, allocations: 7.984 kB / 459.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/0.3839, allocations: 24 kB / 459.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.384, allocations: 77.91 kB / 459.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.386, allocations: 1.241 MB / 460.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/0.3915, allocations: 3.531 MB / 463.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.3933, allocations: 1.065 MB / 465 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000918/0.3942, allocations: 0.6567 MB / 465.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.3943, allocations: 20.91 kB / 465.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3944, allocations: 43.56 kB / 465.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 4.469e-06/0.3944, allocations: 0 / 465.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006461/0.4009, allocations: 3.114 MB / 468.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.4009, allocations: 86.11 kB / 468.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.4013, allocations: 365.6 kB / 469.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.4014, allocations: 41.7 kB / 469.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.4016, allocations: 312.2 kB / 469.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.4019, allocations: 315.3 kB / 469.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.4021, allocations: 77.67 kB / 470 MB, free: 14.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4022, allocations: 366.8 kB / 470.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.4029, allocations: 465.7 kB / 470.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.4037, allocations: 0.5734 MB / 471.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4052, allocations: 1.117 MB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4052, allocations: 0 / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002423/0.4077, allocations: 1.473 MB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4077, allocations: 7.984 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.4077, allocations: 4.188 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/0.4087, allocations: 336.6 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.4093, allocations: 183.7 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.4145, allocations: 3.879 MB / 478.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.415, allocations: 43.95 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.4151, allocations: 39.98 kB / 478.5 MB, free: 5.695 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004449/0.4155, allocations: 297.5 kB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4157, allocations: 55.34 kB / 478.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.4184, allocations: 1.567 MB / 480.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4184, allocations: 12 kB / 480.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4184, allocations: 4 kB / 480.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4185, allocations: 3.984 kB / 480.4 MB, free: 3.738 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.004504/0.423, allocations: 3.04 MB / 483.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.423, allocations: 3.938 kB / 483.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.4236, allocations: 163.8 kB / 483.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007557/0.4243, allocations: 288.6 kB / 483.9 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.4244, allocations: 27.98 kB / 483.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004508/0.4289, allocations: 3.61 MB / 487.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.4289, allocations: 7.938 kB / 487.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.4314, allocations: 1.592 MB / 489.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4315, allocations: 152.3 kB / 489.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.4316, allocations: 23.98 kB / 489.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.4321, allocations: 39.97 kB / 489.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4322, allocations: 84.77 kB / 489.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.4323, allocations: 43.92 kB / 489.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.4326, allocations: 255.2 kB / 489.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4326, allocations: 0 / 489.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009887/0.4336, allocations: 304 kB / 490 MB, free: 9.766 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.4338, allocations: 135 kB / 490.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002116/0.4359, allocations: 1.397 MB / 491.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4359, allocations: 0 / 491.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.4371, allocations: 0.84 MB / 492.4 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.4379, allocations: 110.8 kB / 492.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.4412, allocations: 2.244 MB / 494.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/0.442, allocations: 1.072 MB / 495.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.4422, allocations: 71.39 kB / 495.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.645e-06/0.4422, allocations: 0 / 495.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of Templates: time 0.0158/0.458, allocations: 12.09 MB / 0.496 GB, free: 7.66 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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