Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009603, allocations: 109.5 kB / 17.16 MB, free: 6.082 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.0008858/0.0008858, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.188/1.188, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1546/0.1546, allocations: 37.99 MB / 309.3 MB, free: 6.215 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.001206/0.001206, allocations: 64.38 kB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1926, allocations: 55.23 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005569/0.1982, allocations: 8.104 MB / 438.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004272/0.2025, allocations: 4.955 MB / 443.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.2029, allocations: 23.88 kB / 443.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.2047, allocations: 1.03 MB / 444.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.2066, allocations: 1.199 MB / 445.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.2073, allocations: 327.2 kB / 446.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.2088, allocations: 2.693 MB / 448.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.2095, allocations: 0.6653 MB / 449.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.2101, allocations: 0.5288 MB / 450 MB, free: 216 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008908/0.211, allocations: 0.7672 MB / 450.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.211, allocations: 52 kB / 450.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.2139, allocations: 1.73 MB / 452.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.2143, allocations: 482.9 kB / 453 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.2146, allocations: 433.8 kB / 453.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2159, allocations: 1.166 MB / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2159, allocations: 0 / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2159, allocations: 0 / 454.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.2159, allocations: 4 kB / 454.6 MB, free: 11.58 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001464/0.2174, allocations: 1.163 MB / 455.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2175, allocations: 8.031 kB / 455.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.2205, allocations: 407.4 kB / 456.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.2212, allocations: 499.1 kB / 456.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.2212, allocations: 54.36 kB / 456.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2213, allocations: 76.36 kB / 456.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.223, allocations: 1.227 MB / 458 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.223, allocations: 11.92 kB / 458.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.2231, allocations: 27.98 kB / 458.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.473e-05/0.2232, allocations: 77.95 kB / 458.2 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.225, allocations: 1.312 MB / 459.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004958/0.2299, allocations: 3.708 MB / 463.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.2316, allocations: 1.089 MB / 464.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.2324, allocations: 0.6448 MB / 464.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.2324, allocations: 12.98 kB / 464.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.2325, allocations: 51.48 kB / 465 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.925e-06/0.2325, allocations: 0 / 465 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006261/0.2387, allocations: 3.145 MB / 468.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.2388, allocations: 90.05 kB / 468.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.2392, allocations: 381.6 kB / 468.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.2393, allocations: 41.7 kB / 468.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.2395, allocations: 320.1 kB / 468.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.2397, allocations: 323.4 kB / 469.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.2399, allocations: 162.5 kB / 469.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2401, allocations: 366.8 kB / 469.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.2407, allocations: 469.7 kB / 470.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.2414, allocations: 0.5704 MB / 470.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2428, allocations: 1.122 MB / 471.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2428, allocations: 0 / 471.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002262/0.2451, allocations: 1.481 MB / 473.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2451, allocations: 8 kB / 473.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2451, allocations: 0 / 473.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008828/0.246, allocations: 340.8 kB / 473.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.2467, allocations: 183.7 kB / 473.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.2512, allocations: 3.853 MB / 477.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.2517, allocations: 43.95 kB / 477.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.2518, allocations: 35.98 kB / 477.8 MB, free: 3.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0003812/0.2521, allocations: 309.4 kB / 478.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2523, allocations: 59.25 kB / 478.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.2547, allocations: 1.544 MB / 479.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2547, allocations: 15.94 kB / 479.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2547, allocations: 7.938 kB / 479.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.2547, allocations: 11.91 kB / 479.8 MB, free: 1.816 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.00443/0.2592, allocations: 3.01 MB / 482.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2592, allocations: 12.09 kB / 482.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.2598, allocations: 163.8 kB / 483 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007688/0.2606, allocations: 284.5 kB / 483.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.2606, allocations: 28 kB / 483.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.2651, allocations: 3.6 MB / 486.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.2651, allocations: 7.938 kB / 486.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.2675, allocations: 1.573 MB / 488.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.2677, allocations: 144.3 kB / 488.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.2678, allocations: 23.98 kB / 488.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.2682, allocations: 39.97 kB / 488.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.2683, allocations: 84.77 kB / 488.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.2684, allocations: 39.98 kB / 488.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.2687, allocations: 263.1 kB / 489 MB, free: 8.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.2687, allocations: 0 / 489 MB, free: 8.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009674/0.2697, allocations: 315.9 kB / 489.3 MB, free: 7.891 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.0001785/0.2699, allocations: 123.1 kB / 489.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.2718, allocations: 1.377 MB / 490.8 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2719, allocations: 4.625 kB / 490.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.273, allocations: 0.8389 MB / 491.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.2736, allocations: 107.8 kB / 491.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.2764, allocations: 2.279 MB / 494.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.277, allocations: 1.079 MB / 495.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.2772, allocations: 75.39 kB / 495.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2773, allocations: 0 / 495.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of Templates: time 0.01379/0.291, allocations: 12.43 MB / 0.4958 GB, free: 5.434 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpenedCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.o] Error 1