Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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) 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009957, allocations: 90.08 kB / 17.95 MB, free: 5.648 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.001171/0.001171, allocations: 178.3 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 225 MB, free: 12.99 MB / 190.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.000595/0.0005956, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.157, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01106/0.1681, allocations: 8.954 MB / 338.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.1754, allocations: 2.699 MB / 341.3 MB, free: 8.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.1782, allocations: 51.88 kB / 341.3 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.1805, allocations: 0.56 MB / 341.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006105/0.1867, allocations: 0.9568 MB / 342.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003495/0.1902, allocations: 0.7404 MB / 343.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007219/0.1974, allocations: 3.793 MB / 347.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01988/0.2173, allocations: 9.927 MB / 357.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.2211, allocations: 1.564 MB / 358.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.2253, allocations: 1.921 MB / 360.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.2267, allocations: 252 kB / 361 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.2293, allocations: 463.8 kB / 361.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.231, allocations: 0.7471 MB / 362.2 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003136/0.2341, allocations: 1.941 MB / 364.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00748/0.2416, allocations: 6.817 MB / 371 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2416, allocations: 0 / 371 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2417, allocations: 0 / 371 MB, free: 10.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002261/0.2419, allocations: 3.938 kB / 371 MB, free: 10.14 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01296/0.2549, allocations: 4.238 MB / 375.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.875e-05/0.255, allocations: 8.031 kB / 375.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.2712, allocations: 2.579 MB / 377.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/0.2775, allocations: 2.166 MB / 380 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.2778, allocations: 341.1 kB / 380.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.2791, allocations: 436 kB / 380.7 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3198/0.5989, allocations: 6.123 MB / 386.9 MB, free: 44.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001307/0.5991, allocations: 5.75 kB / 386.9 MB, free: 44.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004733/0.5996, allocations: 178 kB / 387 MB, free: 44.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003931/0.6, allocations: 219.5 kB / 387.3 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.6148, allocations: 5.805 MB / 393.1 MB, free: 42.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03619/0.651, allocations: 21.48 MB / 414.5 MB, free: 25.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00773/0.6588, allocations: 8.986 MB / 423.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.6604, allocations: 1.013 MB / 424.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005794/0.6662, allocations: 3.685 MB / 428.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.6663, allocations: 34.56 kB / 428.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.6663, allocations: 0 / 428.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.00144/0.6678, allocations: 0.7681 MB / 429 MB, free: 9.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.6678, allocations: 55.41 kB / 429.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.6716, allocations: 1.982 MB / 431.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.6716, allocations: 37.7 kB / 431.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.6731, allocations: 2.173 MB / 433.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.6733, allocations: 169.1 kB / 433.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.6737, allocations: 206.8 kB / 433.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6738, allocations: 345.9 kB / 434 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.6752, allocations: 0.9145 MB / 434.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.6774, allocations: 2.286 MB / 437.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/0.6816, allocations: 3.149 MB / 440.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-05/0.6817, allocations: 12 kB / 440.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00543/0.6871, allocations: 3.207 MB / 443.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.6872, allocations: 28 kB / 443.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.303e-05/0.6873, allocations: 48 kB / 443.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.273e-05/0.6873, allocations: 68 kB / 443.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.6891, allocations: 0.5888 MB / 444.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.194e-05/0.6893, allocations: 103.6 kB / 444.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.6916, allocations: 408.5 kB / 444.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.6918, allocations: 148 kB / 444.9 MB, free: 8.305 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002937/0.6948, allocations: 1.558 MB / 446.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.6951, allocations: 134.2 kB / 446.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.6964, allocations: 0.7069 MB / 447.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005466/0.6969, allocations: 414.8 kB / 447.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6969, allocations: 0 / 447.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.697, allocations: 3.984 kB / 447.7 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006983/0.7039, allocations: 4.086 MB / 451.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.704, allocations: 4 kB / 451.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.7043, allocations: 59.91 kB / 451.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.7043, allocations: 4.594 kB / 451.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.7043, allocations: 12 kB / 451.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.7043, allocations: 15.98 kB / 451.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.7044, allocations: 8.031 kB / 451.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.7059, allocations: 1.038 MB / 452.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.7065, allocations: 295.1 kB / 453.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.7066, allocations: 11.98 kB / 453.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.7072, allocations: 39.95 kB / 453.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.7073, allocations: 43.84 kB / 453.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.7073, allocations: 12 kB / 453.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.7092, allocations: 1.339 MB / 454.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7092, allocations: 3.938 kB / 454.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003548/0.7128, allocations: 0.9366 MB / 455.6 MB, free: 13.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.0004316/0.7132, allocations: 151.9 kB / 455.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003254/0.7165, allocations: 1.751 MB / 457.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.7165, allocations: 4.25 kB / 457.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.7168, allocations: 227.6 kB / 457.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.7193, allocations: 286.6 kB / 458 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.7325, allocations: 7.678 MB / 465.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002806/0.7354, allocations: 2.82 MB / 468.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/0.736, allocations: 131.4 kB / 468.7 MB, free: 168 kB / 350.1 MB Notification: Performance of SimCode: time 1.583e-06/0.736, allocations: 0 / 468.7 MB, free: 168 kB / 350.1 MB Notification: Performance of Templates: time 0.07719/0.8132, allocations: 37.3 MB / 0.4941 GB, free: 10.81 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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 OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDeltaCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDeltaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDeltaCalcHelperMain.o] Error 1