Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000932/0.0009322, allocations: 92.92 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.001135/0.001136, allocations: 175 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.83/1.83, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.174/0.174, allocations: 38.05 MB / 310.7 MB, free: 5.926 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.0005574/0.0005578, allocations: 12 kB / 377.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3121, allocations: 56.34 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006372/0.3185, allocations: 7.131 MB / 441.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004507/0.3231, allocations: 2.79 MB / 444.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.3236, allocations: 39.69 kB / 444.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.3242, allocations: 202.8 kB / 444.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.3254, allocations: 0.6384 MB / 444.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.3262, allocations: 415.3 kB / 445.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.3277, allocations: 2.289 MB / 447.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.3287, allocations: 0.7725 MB / 448.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.3292, allocations: 469.8 kB / 448.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/0.3301, allocations: 0.8139 MB / 449.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.3302, allocations: 36 kB / 449.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.3307, allocations: 267.5 kB / 450 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.331, allocations: 498.7 kB / 450.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003813/0.3314, allocations: 0.4913 MB / 451 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007107/0.3322, allocations: 0.9821 MB / 451.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3322, allocations: 0 / 451.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3322, allocations: 4 kB / 451.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3322, allocations: 0 / 451.9 MB, free: 0.7891 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002036/0.3342, allocations: 1.139 MB / 453.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3343, allocations: 8.031 kB / 453.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3353, allocations: 207.4 kB / 453.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3365, allocations: 0.6628 MB / 454 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/0.3366, allocations: 66.36 kB / 454 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.3368, allocations: 103.9 kB / 454.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.3389, allocations: 1.392 MB / 455.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.339, allocations: 7.984 kB / 455.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.339, allocations: 35.98 kB / 455.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002743/0.3393, allocations: 117.9 kB / 455.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.341, allocations: 1.093 MB / 456.8 MB, free: 11.76 MB / 334.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 preOpt removeSimpleEquations (simulation): time 0.006992/0.348, allocations: 5.973 MB / 462.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3491, allocations: 0.705 MB / 463.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.3496, allocations: 315.3 kB / 463.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.3496, allocations: 12.55 kB / 463.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007017/0.3503, allocations: 476.8 kB / 464.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.215e-06/0.3504, allocations: 0 / 464.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003485/0.3539, allocations: 2.152 MB / 466.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.354, allocations: 170.8 kB / 466.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.3547, allocations: 0.6366 MB / 467.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.3548, allocations: 41.83 kB / 467.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.3553, allocations: 0.525 MB / 467.7 MB, free: 264 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.3555, allocations: 232.8 kB / 468 MB, free: 28 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3556, allocations: 97.66 kB / 468.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3558, allocations: 390.7 kB / 468.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.3564, allocations: 338.4 kB / 468.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008996/0.3573, allocations: 0.7698 MB / 469.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.3589, allocations: 1.248 MB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3589, allocations: 4 kB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002536/0.3614, allocations: 1.438 MB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.3615, allocations: 45.62 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001438/0.363, allocations: 0.7861 MB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.3637, allocations: 257 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.3644, allocations: 207.6 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00472/0.3691, allocations: 4.041 MB / 477.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.3698, allocations: 59.81 kB / 477.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.3699, allocations: 63.97 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000639/0.3706, allocations: 399 kB / 478.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3707, allocations: 75.06 kB / 478.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.3721, allocations: 0.8517 MB / 479 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3721, allocations: 8 kB / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3721, allocations: 0 / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.3721, allocations: 11.98 kB / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.3748, allocations: 1.767 MB / 480.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3748, allocations: 3.984 kB / 480.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.3755, allocations: 155.8 kB / 480.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3755, allocations: 4.156 kB / 480.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.3755, allocations: 23.98 kB / 481 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3756, allocations: 4 kB / 481 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3756, allocations: 0 / 481 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.3773, allocations: 1.301 MB / 482.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3776, allocations: 208.1 kB / 482.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.3777, allocations: 16 kB / 482.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.3781, allocations: 31.97 kB / 482.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3782, allocations: 44.44 kB / 482.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.3783, allocations: 47.97 kB / 482.6 MB, free: 476 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004751/0.3787, allocations: 423 kB / 483 MB, free: 56 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3787, allocations: 0 / 483 MB, free: 56 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008998/0.3797, allocations: 232 kB / 483.3 MB, free: 15.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.3799, allocations: 126.4 kB / 483.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.3817, allocations: 1.232 MB / 484.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3818, allocations: 0 / 484.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.3824, allocations: 472 kB / 485.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/0.3832, allocations: 127.6 kB / 485.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3868, allocations: 2.559 MB / 487.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007756/0.3876, allocations: 1.111 MB / 488.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3877, allocations: 63.42 kB / 488.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3878, allocations: 0 / 488.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01904/0.4068, allocations: 13.83 MB / 0.491 GB, free: 12.18 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.TransformerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.o] Error 1