Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,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.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,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.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001048, allocations: 89.59 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.001096/0.001096, allocations: 197.1 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.617/1.617, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002484, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1253, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01374/0.1391, allocations: 13.57 MB / 372.4 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2859/0.4251, allocations: 18.98 MB / 391.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.4282, allocations: 29.56 kB / 391.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005376/0.4336, allocations: 0.9828 MB / 392.3 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.4468, allocations: 1.881 MB / 394.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007127/0.454, allocations: 1.113 MB / 395.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.4684, allocations: 6.255 MB / 401.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.4702, allocations: 438.3 kB / 402 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003957/0.4742, allocations: 0.9803 MB / 403 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.4765, allocations: 1.053 MB / 404 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.4767, allocations: 42.84 kB / 404.1 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/0.4829, allocations: 1.342 MB / 405.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003923/0.4833, allocations: 277.5 kB / 405.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.4849, allocations: 0.6497 MB / 406.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00399/0.4889, allocations: 2.874 MB / 409.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4889, allocations: 0 / 409.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4889, allocations: 0 / 409.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.016e-05/0.489, allocations: 0 / 409.2 MB, free: 10.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.005344/0.4944, allocations: 3.381 MB / 412.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/0.4944, allocations: 12.03 kB / 412.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.4949, allocations: 414.9 kB / 413 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.4985, allocations: 2.308 MB / 415.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.4986, allocations: 40.95 kB / 415.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.4987, allocations: 55.89 kB / 415.4 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5001, allocations: 0.7421 MB / 416.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5001, allocations: 0 / 416.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.5002, allocations: 24 kB / 416.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.5002, allocations: 19.98 kB / 416.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.5017, allocations: 0.8592 MB / 417.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.5073, allocations: 3.133 MB / 420.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.5084, allocations: 0.6104 MB / 420.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009709/0.5094, allocations: 0.6634 MB / 421.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03174/0.5412, allocations: 30.79 MB / 452.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007343/0.542, allocations: 393.4 kB / 452.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.494e-06/0.542, allocations: 0 / 452.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.002386/0.5444, allocations: 1.167 MB / 453.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5444, allocations: 59.19 kB / 453.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.5481, allocations: 3.055 MB / 456.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.5482, allocations: 29.7 kB / 457 MB, free: 5.953 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.5496, allocations: 1.576 MB / 458.5 MB, free: 4.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.5498, allocations: 165.6 kB / 458.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.5498, allocations: 16 kB / 458.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.55, allocations: 345.9 kB / 459.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.5505, allocations: 265.7 kB / 459.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.5514, allocations: 0.6177 MB / 459.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000653/0.552, allocations: 344.5 kB / 460.3 MB, free: 2.453 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.552, allocations: 4 kB / 460.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002195/0.5542, allocations: 1.28 MB / 461.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.5543, allocations: 12.03 kB / 461.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.5544, allocations: 84.81 kB / 461.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.084e-05/0.5545, allocations: 20 kB / 461.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.5552, allocations: 211.6 kB / 461.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.039e-05/0.5552, allocations: 36.64 kB / 461.9 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.5564, allocations: 115.1 kB / 462 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5565, allocations: 67.98 kB / 462.1 MB, free: 0.6211 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.0007977/0.5573, allocations: 453 kB / 462.5 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.5577, allocations: 395.2 kB / 462.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.5606, allocations: 1.258 MB / 464.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.5606, allocations: 9.312 kB / 464.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5606, allocations: 3.953 kB / 464.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5606, allocations: 0 / 464.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.5642, allocations: 2.178 MB / 466.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001018/0.5643, allocations: 71.98 kB / 466.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.5648, allocations: 103.9 kB / 466.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.5648, allocations: 7.953 kB / 466.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.5649, allocations: 35.88 kB / 466.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.5649, allocations: 7.984 kB / 466.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5649, allocations: 0.875 kB / 466.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.5671, allocations: 1.387 MB / 468 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/0.568, allocations: 488 kB / 468.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.5683, allocations: 15.95 kB / 468.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.5689, allocations: 39.95 kB / 468.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.569, allocations: 68 kB / 468.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.5691, allocations: 36 kB / 468.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002719/0.5719, allocations: 1.967 MB / 470.6 MB, free: 8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5719, allocations: 0 / 470.6 MB, free: 8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001587/0.5735, allocations: 0.5934 MB / 471.2 MB, free: 7.406 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.001079/0.5745, allocations: 0.7461 MB / 471.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.5762, allocations: 0.8531 MB / 472.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5762, allocations: 0 / 472.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007454/0.577, allocations: 463.2 kB / 473.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.5796, allocations: 0.6123 MB / 473.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008336/0.5879, allocations: 5.182 MB / 479 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.5894, allocations: 1.71 MB / 480.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.5899, allocations: 159.4 kB / 480.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.984e-06/0.5899, allocations: 0 / 480.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of Templates: time 0.0723/0.6623, allocations: 38.15 MB / 0.5069 GB, free: 7.488 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModelCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.o] Error 1