Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 93.61 kB / 17.63 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 199.7 kB / 18.54 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002725, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008998/0.1292, allocations: 8.343 MB / 367.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.1352, allocations: 2.5 MB / 369.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1364, allocations: 71.75 kB / 369.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1374, allocations: 417.5 kB / 370.1 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.1395, allocations: 0.6219 MB / 370.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1412, allocations: 0.7584 MB / 371.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2911/0.4323, allocations: 3.701 MB / 375.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0219/0.4543, allocations: 9.272 MB / 384.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005241/0.4596, allocations: 1.639 MB / 386.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.4659, allocations: 1.836 MB / 387.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.4678, allocations: 273.3 kB / 388.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.4719, allocations: 495.9 kB / 388.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.4734, allocations: 0.7173 MB / 389.4 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00427/0.4777, allocations: 0.8722 MB / 390.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.4912, allocations: 7.513 MB / 397.8 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.4913, allocations: 0 / 397.8 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.47e-06/0.4913, allocations: 0 / 397.8 MB, free: 2.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003606/0.4917, allocations: 0 / 397.8 MB, free: 2.578 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.01523/0.5069, allocations: 4.401 MB / 402.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.507, allocations: 9.406 kB / 402.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009218/0.5162, allocations: 1.321 MB / 403.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006888/0.5231, allocations: 2.488 MB / 406 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.5235, allocations: 345.4 kB / 406.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.525, allocations: 455.8 kB / 406.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.54, allocations: 6.078 MB / 412.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.07e-05/0.5402, allocations: 6.078 kB / 412.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004422/0.5406, allocations: 186.6 kB / 413.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002055/0.5408, allocations: 193.5 kB / 413.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.5528, allocations: 5.26 MB / 418.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04058/0.5935, allocations: 21.3 MB / 439.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007275/0.6008, allocations: 5.599 MB / 445.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.6023, allocations: 0.702 MB / 446.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.6027, allocations: 202 kB / 446.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.6027, allocations: 43.56 kB / 446.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 4.499e-06/0.6027, allocations: 0 / 446.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.003012/0.6058, allocations: 1.529 MB / 447.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.6059, allocations: 60.41 kB / 447.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.6087, allocations: 1.454 MB / 449.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.6088, allocations: 37.7 kB / 449.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.6104, allocations: 1.958 MB / 451.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.6108, allocations: 373.1 kB / 451.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.611, allocations: 47.94 kB / 451.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003577/0.6113, allocations: 455.3 kB / 452.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.6129, allocations: 0.8359 MB / 453.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.6154, allocations: 1.972 MB / 455.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.6175, allocations: 1.341 MB / 456.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.6175, allocations: 12 kB / 456.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005057/0.6226, allocations: 2.851 MB / 459.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.6226, allocations: 24 kB / 459.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/0.6227, allocations: 39.94 kB / 459.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.207e-05/0.6228, allocations: 60 kB / 459.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.6245, allocations: 0.5349 MB / 459.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.601e-05/0.6246, allocations: 87.7 kB / 460 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6263, allocations: 285.1 kB / 460.3 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.6265, allocations: 131.9 kB / 460.4 MB, free: 3.824 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.003778/0.6302, allocations: 1.664 MB / 462.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.6306, allocations: 130.3 kB / 462.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.633, allocations: 1.424 MB / 463.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001437/0.6345, allocations: 1.002 MB / 464.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.6345, allocations: 4 kB / 464.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6345, allocations: 3.984 kB / 464.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/0.6567, allocations: 13.53 MB / 478.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/0.6568, allocations: 20 kB / 478.2 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.6576, allocations: 211.6 kB / 478.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.467e-05/0.6576, allocations: 32.77 kB / 478.4 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.6577, allocations: 51.98 kB / 478.5 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.993e-05/0.6578, allocations: 39.86 kB / 478.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.33e-05/0.6578, allocations: 27.88 kB / 478.5 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/0.6619, allocations: 2.563 MB / 481.1 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/0.6628, allocations: 343 kB / 481.4 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.663, allocations: 47.98 kB / 481.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.6638, allocations: 59.95 kB / 481.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.664, allocations: 135.5 kB / 481.7 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.6641, allocations: 52 kB / 481.7 MB, free: 13.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.666, allocations: 0.9838 MB / 482.7 MB, free: 12.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.666, allocations: 0 / 482.7 MB, free: 12.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003572/0.6696, allocations: 0.9321 MB / 483.6 MB, free: 11.34 MB / 398.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.0005235/0.6701, allocations: 202.8 kB / 483.8 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003538/0.6736, allocations: 1.9 MB / 485.7 MB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.6737, allocations: 4 kB / 485.7 MB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009604/0.6746, allocations: 0.6169 MB / 486.4 MB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.677, allocations: 368.5 kB / 486.7 MB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.6922, allocations: 8.29 MB / 495 MB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/0.6954, allocations: 2.992 MB / 498 MB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/0.696, allocations: 135.4 kB / 498.1 MB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.696, allocations: 4 kB / 498.1 MB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.06821/0.7642, allocations: 38.22 MB / 0.5238 GB, free: 6.395 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStarCalcHelperMain.o] Error 1