Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 106.2 kB / 17.16 MB, free: 6.348 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.0008861/0.0008861, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.157/1.157, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1563/0.1563, allocations: 37.99 MB / 309.3 MB, free: 6.246 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.001185/0.001185, allocations: 67.05 kB / 375.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1881, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005064/0.1932, allocations: 6.834 MB / 437.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1955, allocations: 2.346 MB / 439.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.1957, allocations: 31.81 kB / 439.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.1967, allocations: 485.3 kB / 440.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.1973, allocations: 466.1 kB / 440.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1977, allocations: 315.5 kB / 441 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.1984, allocations: 1.462 MB / 442.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.1989, allocations: 463.6 kB / 442.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.1992, allocations: 390.3 kB / 443.3 MB, free: 7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/0.1996, allocations: 0.5645 MB / 443.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.793e-05/0.1997, allocations: 48 kB / 443.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.2003, allocations: 0.4991 MB / 444.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.2005, allocations: 355 kB / 444.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.2008, allocations: 437.7 kB / 445.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.2013, allocations: 0.9277 MB / 446.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2013, allocations: 3.938 kB / 446.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2013, allocations: 0 / 446.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2013, allocations: 0 / 446.1 MB, free: 4.176 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001733/0.2031, allocations: 1.229 MB / 447.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2031, allocations: 12.03 kB / 447.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.2037, allocations: 131.8 kB / 447.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.2043, allocations: 0.5579 MB / 448 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.2043, allocations: 58.36 kB / 448.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2045, allocations: 88.11 kB / 448.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2056, allocations: 1.08 MB / 449.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2057, allocations: 7.938 kB / 449.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.2057, allocations: 35.98 kB / 449.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.2058, allocations: 49.92 kB / 449.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.207, allocations: 0.9367 MB / 450.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.2113, allocations: 4.223 MB / 454.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2124, allocations: 0.9376 MB / 455.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.213, allocations: 451.9 kB / 455.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.213, allocations: 12.55 kB / 455.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008134/0.2139, allocations: 0.6358 MB / 456.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 1.953e-06/0.2139, allocations: 0 / 456.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.003942/0.2178, allocations: 2.904 MB / 459.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.2179, allocations: 145.5 kB / 459.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.2183, allocations: 473.8 kB / 460 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.2184, allocations: 53.69 kB / 460.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.2186, allocations: 383.6 kB / 460.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.2188, allocations: 292.1 kB / 460.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.2191, allocations: 178.9 kB / 460.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2192, allocations: 386.8 kB / 461.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.2198, allocations: 386.4 kB / 461.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.2205, allocations: 0.6207 MB / 462.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.2217, allocations: 1.079 MB / 463.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2217, allocations: 0 / 463.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002605/0.2243, allocations: 1.521 MB / 464.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.2244, allocations: 37.64 kB / 464.9 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002065/0.2264, allocations: 1.164 MB / 466.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.2277, allocations: 432.5 kB / 466.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.2281, allocations: 131.7 kB / 466.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/0.2344, allocations: 4.738 MB / 471.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.2349, allocations: 59.94 kB / 471.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.235, allocations: 44 kB / 471.5 MB, free: 9.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000406/0.2354, allocations: 351.2 kB / 471.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2355, allocations: 75.14 kB / 471.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.2371, allocations: 1.119 MB / 473 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.2372, allocations: 19.92 kB / 473 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2372, allocations: 0 / 473 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.2372, allocations: 7.984 kB / 473 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.2401, allocations: 2.14 MB / 475.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2401, allocations: 8 kB / 475.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.2406, allocations: 123.8 kB / 475.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.2408, allocations: 90.47 kB / 475.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.2409, allocations: 23.98 kB / 475.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.2432, allocations: 3.914 MB / 479.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2432, allocations: 7.969 kB / 479.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.2455, allocations: 1.765 MB / 481.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.2457, allocations: 140.3 kB / 481.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.2458, allocations: 23.98 kB / 481.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.2462, allocations: 47.95 kB / 481.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.2464, allocations: 88.81 kB / 481.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.2464, allocations: 27.98 kB / 481.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000313/0.2468, allocations: 323.1 kB / 481.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2468, allocations: 0 / 481.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000767/0.2475, allocations: 264 kB / 482 MB, free: 14.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.2478, allocations: 145.7 kB / 482.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.2496, allocations: 1.358 MB / 483.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2497, allocations: 0 / 483.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.2506, allocations: 0.947 MB / 484.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.2512, allocations: 113.8 kB / 484.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.2538, allocations: 2.204 MB / 486.7 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.2544, allocations: 1.033 MB / 487.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2546, allocations: 59.42 kB / 487.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.2546, allocations: 0 / 487.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of Templates: time 0.01675/0.2713, allocations: 16.42 MB / 0.4924 GB, free: 8.211 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.AC3ph.Elementary.BreakerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.o] Error 1