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.0008042/0.000804, allocations: 94.06 kB / 17.58 MB, free: 5.801 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.0008085/0.0008085, allocations: 180.7 kB / 18.48 MB, free: 5.254 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.727/1.727, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004774/0.0004774, allocations: 10.19 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008771/0.1289, allocations: 8.32 MB / 337.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006183/0.1351, allocations: 2.497 MB / 339.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000833/0.136, allocations: 51.88 kB / 339.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000955/0.137, allocations: 401.6 kB / 340.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.1397, allocations: 0.8945 MB / 341.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1415, allocations: 0.6353 MB / 341.8 MB, free: 7.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004836/0.1463, allocations: 3.622 MB / 345.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01346/0.1598, allocations: 8.205 MB / 353.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.1626, allocations: 1.549 MB / 355.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.1649, allocations: 1.829 MB / 357 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.1653, allocations: 255.9 kB / 357.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1665, allocations: 463.7 kB / 357.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006336/0.1671, allocations: 0.7279 MB / 358.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.1682, allocations: 0.8239 MB / 359.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006153/0.1744, allocations: 6.813 MB / 366 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.1744, allocations: 4 kB / 366 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1744, allocations: 0 / 366 MB, free: 14.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001737/0.1746, allocations: 0 / 366 MB, free: 14.83 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.01071/0.1853, allocations: 4.276 MB / 370.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1854, allocations: 8.031 kB / 370.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.1995, allocations: 2.582 MB / 372.9 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004986/0.2045, allocations: 2.143 MB / 375.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.2049, allocations: 333 kB / 375.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.2059, allocations: 444 kB / 375.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2506/0.4564, allocations: 6.08 MB / 381.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.4566, allocations: 5.234 kB / 381.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005413/0.4572, allocations: 181.5 kB / 382.1 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000294/0.4575, allocations: 217.3 kB / 382.3 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01281/0.4703, allocations: 5.768 MB / 388.1 MB, free: 43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/0.5008, allocations: 21.47 MB / 409.5 MB, free: 28.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.5067, allocations: 8.973 MB / 418.5 MB, free: 19.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.508, allocations: 1.018 MB / 419.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004452/0.5125, allocations: 3.683 MB / 423.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5125, allocations: 42.52 kB / 423.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.5125, allocations: 0 / 423.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009751/0.5135, allocations: 0.7564 MB / 424 MB, free: 14.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.5136, allocations: 59.39 kB / 424.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.5157, allocations: 1.971 MB / 426 MB, free: 12.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5157, allocations: 33.7 kB / 426.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008967/0.5166, allocations: 2.176 MB / 428.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5167, allocations: 164.6 kB / 428.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.5168, allocations: 52 kB / 428.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.517, allocations: 459.9 kB / 428.9 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5181, allocations: 0.8988 MB / 429.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.5199, allocations: 2.277 MB / 432.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.5213, allocations: 1.443 MB / 433.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.5214, allocations: 12 kB / 433.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.003569/0.5249, allocations: 3.184 MB / 436.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.525, allocations: 31.95 kB / 436.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.525, allocations: 48 kB / 436.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-05/0.5251, allocations: 72 kB / 436.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.5266, allocations: 0.5888 MB / 437.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.597e-05/0.5267, allocations: 95.64 kB / 437.5 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.5285, allocations: 413.3 kB / 437.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.5287, allocations: 144 kB / 438.1 MB, free: 15.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002587/0.5313, allocations: 1.562 MB / 439.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.5315, allocations: 134.2 kB / 439.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5326, allocations: 0.7224 MB / 440.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004892/0.5331, allocations: 402.9 kB / 440.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5331, allocations: 3.938 kB / 440.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5331, allocations: 0 / 440.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00582/0.539, allocations: 4.071 MB / 445 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.539, allocations: 8 kB / 445 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5392, allocations: 55.89 kB / 445 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.5392, allocations: 8 kB / 445 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.5393, allocations: 16.59 kB / 445.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.5393, allocations: 11.89 kB / 445.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.5393, allocations: 12 kB / 445.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.5406, allocations: 1.028 MB / 446.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.541, allocations: 303.1 kB / 446.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.5412, allocations: 8 kB / 446.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.5417, allocations: 47.89 kB / 446.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.5417, allocations: 39.92 kB / 446.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.5417, allocations: 12 kB / 446.5 MB, free: 6.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.5435, allocations: 1.312 MB / 447.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5435, allocations: 0 / 447.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002765/0.5463, allocations: 0.9323 MB / 448.8 MB, free: 4.602 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/0.5466, allocations: 159.6 kB / 448.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.5492, allocations: 1.737 MB / 450.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5492, allocations: 0 / 450.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.5495, allocations: 231.9 kB / 450.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.5508, allocations: 287.5 kB / 451.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.5619, allocations: 7.289 MB / 458.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.5643, allocations: 2.828 MB / 461.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.5648, allocations: 127.4 kB / 461.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5648, allocations: 4 kB / 461.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of Templates: time 0.05557/0.6204, allocations: 37.38 MB / 498.8 MB, free: 2.406 MB / 382.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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