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.0009301/0.0009305, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001146/0.001146, allocations: 175.2 kB / 18.21 MB, free: 5.684 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.855/1.855, 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.1938/0.1938, allocations: 38.05 MB / 310.7 MB, free: 5.906 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.0005264/0.0005263, allocations: 16 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3039, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.00583/0.3098, allocations: 6.402 MB / 440.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.3134, allocations: 2.311 MB / 442.9 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.3138, allocations: 27.81 kB / 442.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.3142, allocations: 119.2 kB / 443 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009878/0.3152, allocations: 450.1 kB / 443.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.3158, allocations: 323.5 kB / 443.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3169, allocations: 1.45 MB / 445.2 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.318, allocations: 0.7793 MB / 446 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.3184, allocations: 362.3 kB / 446.3 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.319, allocations: 0.5255 MB / 446.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.948e-05/0.3191, allocations: 40 kB / 446.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.3198, allocations: 499.1 kB / 447.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.32, allocations: 347 kB / 447.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.3204, allocations: 443.4 kB / 448.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.321, allocations: 0.8923 MB / 449.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.321, allocations: 3.938 kB / 449.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.321, allocations: 4 kB / 449.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.321, allocations: 0 / 449.1 MB, free: 3.66 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.001915/0.323, allocations: 1.097 MB / 450.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.323, allocations: 8.031 kB / 450.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.3237, allocations: 143.7 kB / 450.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.3244, allocations: 0.554 MB / 450.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.3245, allocations: 62.36 kB / 450.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.3246, allocations: 84.11 kB / 451 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.326, allocations: 1.092 MB / 452.1 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.326, allocations: 3.938 kB / 452.1 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.509e-05/0.3261, allocations: 28 kB / 452.1 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.3262, allocations: 53.97 kB / 452.2 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.3277, allocations: 0.9367 MB / 453.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.3333, allocations: 4.219 MB / 457.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.3347, allocations: 0.9376 MB / 458.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.3354, allocations: 444 kB / 458.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.3355, allocations: 12.55 kB / 458.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.3365, allocations: 0.6396 MB / 459.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.916e-06/0.3365, allocations: 0 / 459.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.004891/0.3414, allocations: 2.912 MB / 462.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.3416, allocations: 157.4 kB / 462.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.3422, allocations: 481.7 kB / 462.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.3423, allocations: 45.64 kB / 462.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.3426, allocations: 387.7 kB / 463.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.3429, allocations: 280.1 kB / 463.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.343, allocations: 97.66 kB / 463.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3432, allocations: 378.8 kB / 464.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.3438, allocations: 394.4 kB / 464.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.3447, allocations: 0.6168 MB / 465.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3461, allocations: 1.079 MB / 466.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3461, allocations: 4 kB / 466.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003041/0.3492, allocations: 1.517 MB / 467.7 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3492, allocations: 37.64 kB / 467.7 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002354/0.3516, allocations: 1.164 MB / 468.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.3532, allocations: 436.5 kB / 469.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.3536, allocations: 123.8 kB / 469.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008147/0.3618, allocations: 4.746 MB / 474.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/0.3627, allocations: 71.94 kB / 474.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.3627, allocations: 40 kB / 474.3 MB, free: 9.441 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.0006226/0.3634, allocations: 347.1 kB / 474.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3635, allocations: 75.14 kB / 474.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.3654, allocations: 1.111 MB / 475.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/0.3655, allocations: 23.92 kB / 475.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3655, allocations: 4 kB / 475.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3655, allocations: 3.984 kB / 475.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/0.3689, allocations: 2.148 MB / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.369, allocations: 0 / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.3696, allocations: 127.8 kB / 478.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.3698, allocations: 78.58 kB / 478.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.3698, allocations: 27.98 kB / 478.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.3731, allocations: 3.926 MB / 482.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3731, allocations: 3.938 kB / 482.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.3759, allocations: 1.757 MB / 483.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.3762, allocations: 148.2 kB / 484 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.3763, allocations: 23.98 kB / 484.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.3767, allocations: 59.95 kB / 484.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.377, allocations: 80.88 kB / 484.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.377, allocations: 23.98 kB / 484.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004072/0.3774, allocations: 323.1 kB / 484.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3775, allocations: 0 / 484.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001002/0.3785, allocations: 259.9 kB / 484.8 MB, free: 14.34 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.0003096/0.3788, allocations: 161.8 kB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.3812, allocations: 1.358 MB / 486.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3812, allocations: 0.6875 kB / 486.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3824, allocations: 0.9462 MB / 487.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.3831, allocations: 114 kB / 487.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.3863, allocations: 2.279 MB / 489.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.3871, allocations: 1.045 MB / 490.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3873, allocations: 59.44 kB / 490.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3873, allocations: 0 / 490.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of Templates: time 0.02105/0.4084, allocations: 16.35 MB / 0.4952 GB, free: 7.863 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