Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001368/0.001368, allocations: 97.53 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.682/1.682, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002501, allocations: 4 kB / 307.3 MB, free: 1.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1264, allocations: 51.49 MB / 358.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01259/0.1391, allocations: 13.03 MB / 371.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2846/0.4238, allocations: 18.9 MB / 390.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.4264, allocations: 30.75 kB / 390.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00387/0.4302, allocations: 0.9656 MB / 391.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.4417, allocations: 1.835 MB / 393.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.4494, allocations: 1.116 MB / 394.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01506/0.4645, allocations: 6.136 MB / 400.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.4662, allocations: 415.4 kB / 401.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00317/0.4694, allocations: 0.955 MB / 402.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.4726, allocations: 1.011 MB / 403.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006674/0.4733, allocations: 41.81 kB / 403.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.4835, allocations: 1.338 MB / 404.6 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00074/0.4843, allocations: 279.3 kB / 404.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.4863, allocations: 0.6203 MB / 405.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.4917, allocations: 2.693 MB / 408.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.4917, allocations: 0 / 408.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4917, allocations: 3.938 kB / 408.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001306/0.4919, allocations: 0 / 408.1 MB, free: 11.23 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005862/0.4977, allocations: 3.258 MB / 411.4 MB, free: 8.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4978, allocations: 12.03 kB / 411.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/0.4983, allocations: 391.2 kB / 411.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.502, allocations: 2.266 MB / 414.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.502, allocations: 40.95 kB / 414.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5022, allocations: 55.92 kB / 414.2 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5035, allocations: 0.746 MB / 414.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5036, allocations: 0 / 414.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.5036, allocations: 23.94 kB / 414.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.5037, allocations: 19.98 kB / 414.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.5052, allocations: 0.8589 MB / 415.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.5103, allocations: 3.086 MB / 418.9 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5114, allocations: 0.6142 MB / 419.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009766/0.5124, allocations: 0.6673 MB / 420.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03221/0.5447, allocations: 30.76 MB / 450.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000774/0.5455, allocations: 385.4 kB / 451.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.377e-06/0.5455, allocations: 4 kB / 451.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.002326/0.5478, allocations: 1.163 MB / 452.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.5479, allocations: 63.17 kB / 452.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.5514, allocations: 2.896 MB / 455.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.5515, allocations: 33.7 kB / 455.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.5528, allocations: 1.486 MB / 457 MB, free: 6.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.5529, allocations: 165.6 kB / 457.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.553, allocations: 16 kB / 457.1 MB, free: 5.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5531, allocations: 341.9 kB / 457.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.5537, allocations: 257.9 kB / 457.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/0.5545, allocations: 0.6177 MB / 458.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.5552, allocations: 348.5 kB / 458.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.5552, allocations: 4 kB / 458.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002263/0.5575, allocations: 1.252 MB / 459.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.5575, allocations: 12.97 kB / 459.9 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.5576, allocations: 83.98 kB / 460 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.165e-05/0.5577, allocations: 24 kB / 460 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.5584, allocations: 215.6 kB / 460.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.5584, allocations: 19.94 kB / 460.3 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5596, allocations: 130.9 kB / 460.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5598, allocations: 64 kB / 460.5 MB, free: 2.301 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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.0008489/0.5606, allocations: 436.7 kB / 460.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.561, allocations: 375.4 kB / 461.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.5639, allocations: 1.241 MB / 462.5 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5639, allocations: 4 kB / 462.5 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5639, allocations: 3.953 kB / 462.5 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5639, allocations: 7.984 kB / 462.5 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.5674, allocations: 2.132 MB / 464.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.936e-05/0.5675, allocations: 68 kB / 464.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.568, allocations: 99.98 kB / 464.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.568, allocations: 7.953 kB / 464.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.5681, allocations: 35.98 kB / 464.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.5681, allocations: 7.938 kB / 464.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5681, allocations: 1.938 kB / 464.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5703, allocations: 1.355 MB / 466.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/0.5712, allocations: 476.3 kB / 466.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.5714, allocations: 16.02 kB / 466.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.572, allocations: 39.95 kB / 466.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.5722, allocations: 59.94 kB / 466.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.5723, allocations: 39.94 kB / 466.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002604/0.5749, allocations: 1.884 MB / 468.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5749, allocations: 0 / 468.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00155/0.5765, allocations: 0.5777 MB / 469.3 MB, free: 9.328 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * 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.001092/0.5776, allocations: 0.7421 MB / 470 MB, free: 8.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.5793, allocations: 0.8493 MB / 470.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5793, allocations: 0 / 470.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.58, allocations: 463.2 kB / 471.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.5825, allocations: 0.5907 MB / 471.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/0.5902, allocations: 4.968 MB / 476.9 MB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.5915, allocations: 1.665 MB / 478.6 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.5919, allocations: 151.4 kB / 478.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5919, allocations: 0 / 478.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of Templates: time 0.07015/0.6621, allocations: 37.09 MB / 0.5037 GB, free: 10.76 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.Spice3.Examples.InvertersApartRecordCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.o] Error 1