Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001018, allocations: 90 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 198.2 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.3 MB / 246.6 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 45.92 MB / 344.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 63.46 MB / 482.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01917/0.1689, allocations: 17.08 MB / 499.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.182, allocations: 4.585 MB / 0.492 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005284/0.1874, allocations: 143.6 kB / 0.4921 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005031/0.1925, allocations: 0.8735 MB / 0.493 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009411/0.2019, allocations: 1.792 MB / 0.4947 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.2061, allocations: 1.052 MB / 0.4957 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0174/0.2235, allocations: 11.58 MB / 0.5071 GB, free: 212 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3934/0.617, allocations: 21.31 MB / 0.5279 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.628, allocations: 4.53 MB / 0.5323 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.6403, allocations: 5.174 MB / 0.5373 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003451/0.6438, allocations: 0.6827 MB / 0.538 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006358/0.6502, allocations: 0.8628 MB / 0.5389 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003769/0.654, allocations: 2.284 MB / 0.5411 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005935/0.66, allocations: 2.33 MB / 0.5434 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02331/0.6833, allocations: 19.83 MB / 0.5627 GB, free: 5.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.6833, allocations: 0 / 0.5627 GB, free: 5.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6834, allocations: 0 / 0.5627 GB, free: 5.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008623/0.6842, allocations: 0 / 0.5627 GB, free: 5.609 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03815/0.7224, allocations: 11.98 MB / 0.5744 GB, free: 9.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.7225, allocations: 8.031 kB / 0.5744 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05899/0.7815, allocations: 11.49 MB / 0.5856 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/0.8023, allocations: 7.001 MB / 0.5925 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001466/0.8038, allocations: 0.8875 MB / 0.5934 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007548/0.8114, allocations: 1.166 MB / 0.5945 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06129/0.8727, allocations: 18.47 MB / 0.6125 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000976/0.8738, allocations: 15.81 kB / 0.6125 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00681/0.8806, allocations: 0.4912 MB / 0.613 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/0.8818, allocations: 0.6617 MB / 0.6137 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05124/0.9331, allocations: 18.99 MB / 0.6322 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1403/1.073, allocations: 61.04 MB / 0.6918 GB, free: 1.539 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02336/1.097, allocations: 16.57 MB / 0.708 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6315/1.728, allocations: 4.502 MB / 0.7124 GB, free: 154 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/1.729, allocations: 318.1 kB / 0.7127 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/1.729, allocations: 105.1 kB / 0.7128 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.548e-06/1.729, allocations: 2.781 kB / 0.7128 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02995/1.759, allocations: 12.32 MB / 0.7248 GB, free: 150 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.76, allocations: 120.5 kB / 0.7249 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01564/1.775, allocations: 8.554 MB / 0.7333 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/1.777, allocations: 133.1 kB / 0.7334 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004068/1.781, allocations: 4.494 MB / 0.7378 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003315/1.784, allocations: 2.186 MB / 0.74 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004947/1.785, allocations: 155.8 kB / 0.7401 GB, free: 142 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004081/1.785, allocations: 0.6138 MB / 0.7407 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006393/1.792, allocations: 4.076 MB / 0.7447 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00778/1.799, allocations: 6.883 MB / 0.7514 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009053/1.809, allocations: 5.569 MB / 0.7568 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.809, allocations: 27.16 kB / 0.7569 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02342/1.832, allocations: 11.95 MB / 0.7685 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.584e-05/1.832, allocations: 44 kB / 0.7686 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/1.832, allocations: 92 kB / 0.7687 GB, free: 127 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000935/1.833, allocations: 435.6 kB / 0.7691 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008149/1.842, allocations: 1.999 MB / 0.771 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/1.848, allocations: 8.918 MB / 0.7797 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/1.858, allocations: 1.349 MB / 0.7811 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002934/1.861, allocations: 374 kB / 0.7814 GB, free: 114.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01362/1.874, allocations: 4.582 MB / 0.7859 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003039/1.877, allocations: 0.6982 MB / 0.7866 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02289/1.9, allocations: 10.62 MB / 0.7969 GB, free: 98.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-05/1.9, allocations: 64 kB / 0.797 GB, free: 98.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/1.9, allocations: 4 kB / 0.797 GB, free: 98.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001483/1.901, allocations: 35.86 kB / 0.797 GB, free: 98.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6356/2.536, allocations: 161.4 MB / 0.9547 GB, free: 160.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003197/2.537, allocations: 86.28 kB / 0.9547 GB, free: 160.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006057/2.543, allocations: 1.54 MB / 0.9562 GB, free: 160.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/2.544, allocations: 391.2 kB / 0.9566 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001361/2.545, allocations: 247.9 kB / 0.9569 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005785/2.551, allocations: 8.788 MB / 0.9654 GB, free: 152.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/2.551, allocations: 133.7 kB / 0.9656 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/2.577, allocations: 18.47 MB / 0.9836 GB, free: 141.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006323/2.583, allocations: 2.027 MB / 0.9856 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002724/2.586, allocations: 245 kB / 0.9858 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008314/2.594, allocations: 0.5653 MB / 0.9864 GB, free: 140.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001986/2.596, allocations: 0.7238 MB / 0.9871 GB, free: 140 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001273/2.598, allocations: 308.2 kB / 0.9874 GB, free: 139.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01412/2.612, allocations: 5.996 MB / 0.9932 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.71e-07/2.612, allocations: 5.75 kB / 0.9932 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01414/2.626, allocations: 2.617 MB / 0.9958 GB, free: 133.5 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002929/2.629, allocations: 0.4886 MB / 0.9963 GB, free: 133 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.02037/2.649, allocations: 10.33 MB / 1.006 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.706e-05/2.65, allocations: 12 kB / 1.006 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009825/2.659, allocations: 5.428 MB / 1.012 GB, free: 119 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/2.676, allocations: 1.472 MB / 1.013 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05814/2.734, allocations: 27.6 MB / 1.04 GB, free: 88.73 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01626/2.75, allocations: 7.514 MB / 1.047 GB, free: 81.18 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004527/2.755, allocations: 0.6322 MB / 1.048 GB, free: 80.55 MB / 0.5607 GB Notification: Performance of SimCode: time 1.403e-06/2.755, allocations: 0 / 1.048 GB, free: 80.55 MB / 0.5607 GB Notification: Performance of Templates: time 1.376/4.13, allocations: 0.5345 GB / 1.583 GB, free: 19.17 MB / 0.6076 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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 OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnectionCalcHelperMain.o] Error 1