Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001412/0.001413, allocations: 181.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 5.531 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 50.43 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01099/0.1532, allocations: 8.326 MB / 360.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007085/0.1603, allocations: 2.438 MB / 362.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.1623, allocations: 71.75 kB / 362.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.164, allocations: 417.5 kB / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.1676, allocations: 0.7541 MB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.17, allocations: 0.634 MB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005553/0.1755, allocations: 3.703 MB / 368.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2847/0.4603, allocations: 9.269 MB / 377.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.4637, allocations: 1.624 MB / 379.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.4678, allocations: 1.84 MB / 380.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.469, allocations: 273.9 kB / 381.2 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.4713, allocations: 477.9 kB / 381.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008188/0.4722, allocations: 0.7172 MB / 382.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.4738, allocations: 0.8718 MB / 383.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007971/0.4817, allocations: 7.502 MB / 390.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4818, allocations: 0 / 390.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4818, allocations: 2.375 kB / 390.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.4821, allocations: 4 kB / 390.8 MB, free: 5.621 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01308/0.4951, allocations: 4.386 MB / 395.2 MB, free: 3.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4952, allocations: 12.88 kB / 395.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007966/0.5032, allocations: 1.296 MB / 396.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.5083, allocations: 2.479 MB / 398.9 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.5086, allocations: 349 kB / 399.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.5096, allocations: 461 kB / 399.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.5218, allocations: 6.078 MB / 405.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.382e-05/0.5219, allocations: 11.75 kB / 405.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/0.5223, allocations: 184 kB / 406 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.5225, allocations: 197.5 kB / 406.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.5332, allocations: 5.257 MB / 411.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03413/0.5673, allocations: 21.05 MB / 432.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.5733, allocations: 5.589 MB / 438.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5745, allocations: 0.7059 MB / 438.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.5747, allocations: 115.2 kB / 438.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.5748, allocations: 51.2 kB / 439 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 3.907e-06/0.5748, allocations: 0 / 439 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002557/0.5773, allocations: 1.535 MB / 440.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.5774, allocations: 61.44 kB / 440.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.5797, allocations: 1.45 MB / 442 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.5798, allocations: 37.7 kB / 442 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.5813, allocations: 1.96 MB / 444 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003446/0.5816, allocations: 368.5 kB / 444.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.5817, allocations: 44 kB / 444.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002908/0.582, allocations: 459.3 kB / 444.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.5834, allocations: 0.8366 MB / 445.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.5854, allocations: 1.974 MB / 447.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5873, allocations: 1.336 MB / 449 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/0.5873, allocations: 12 kB / 449 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.004482/0.5918, allocations: 2.858 MB / 451.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.5919, allocations: 24 kB / 451.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/0.5919, allocations: 36 kB / 451.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.397e-05/0.592, allocations: 60 kB / 452 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.5937, allocations: 0.5298 MB / 452.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.74e-05/0.5937, allocations: 81.41 kB / 452.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.5953, allocations: 297.5 kB / 452.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.5955, allocations: 124 kB / 453 MB, free: 12.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (285): * Single equations (assignments): 281 * 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.003796/0.5993, allocations: 1.664 MB / 454.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.5996, allocations: 134.3 kB / 454.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.6019, allocations: 1.422 MB / 456.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001428/0.6034, allocations: 1.006 MB / 457.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6034, allocations: 0 / 457.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.6034, allocations: 7.984 kB / 457.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.6204, allocations: 12.23 MB / 469.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/0.6205, allocations: 24 kB / 469.5 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.6212, allocations: 215.6 kB / 469.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.533e-05/0.6212, allocations: 28 kB / 469.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.6213, allocations: 47.98 kB / 469.8 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.138e-05/0.6213, allocations: 35.86 kB / 469.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-05/0.6214, allocations: 32.41 kB / 469.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.6247, allocations: 2.579 MB / 472.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.6253, allocations: 335 kB / 472.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.6255, allocations: 43.98 kB / 472.8 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.6261, allocations: 72.02 kB / 472.9 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6263, allocations: 135.4 kB / 473 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.6264, allocations: 56 kB / 473 MB, free: 7.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001562/0.6279, allocations: 0.976 MB / 474 MB, free: 6.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.628, allocations: 0 / 474 MB, free: 6.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003377/0.6313, allocations: 0.9398 MB / 475 MB, free: 5.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (101): * Single equations (assignments): 97 * 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.0004098/0.6318, allocations: 212.2 kB / 475.2 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.6347, allocations: 1.901 MB / 477.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.6347, allocations: 4 kB / 477.1 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007998/0.6355, allocations: 0.6164 MB / 477.7 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.6374, allocations: 367.8 kB / 478.1 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.6501, allocations: 8.298 MB / 486.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.6531, allocations: 2.988 MB / 489.3 MB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.6535, allocations: 135.4 kB / 489.5 MB, free: 7.145 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6535, allocations: 0 / 489.5 MB, free: 7.145 MB / 398.1 MB Notification: Performance of Templates: time 0.06103/0.7146, allocations: 38.26 MB / 0.5154 GB, free: 0.9766 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.o] Error 1