Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 92.09 kB / 17.58 MB, free: 6.219 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.001399/0.001399, allocations: 187.2 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 224.6 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004838, allocations: 15.98 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01198/0.1438, allocations: 12.93 MB / 341.9 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02345/0.1673, allocations: 17.99 MB / 359.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.1698, allocations: 35.75 kB / 359.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.173, allocations: 0.9602 MB / 360.9 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.1816, allocations: 1.843 MB / 362.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004799/0.1865, allocations: 1.069 MB / 363.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.1974, allocations: 6.046 MB / 369.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.1986, allocations: 429 kB / 370.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.2005, allocations: 0.8784 MB / 371.2 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.2016, allocations: 1.017 MB / 372.2 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.2017, allocations: 40 kB / 372.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.2064, allocations: 1.081 MB / 373.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.2068, allocations: 281.8 kB / 373.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000945/0.2077, allocations: 0.6559 MB / 374.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.2107, allocations: 2.89 MB / 377.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2108, allocations: 0 / 377.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2108, allocations: 0 / 377.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.285e-05/0.2108, allocations: 0 / 377.1 MB, free: 3.754 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.005018/0.2158, allocations: 3.397 MB / 380.5 MB, free: 288 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.2159, allocations: 8.031 kB / 380.5 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2674/0.4833, allocations: 413 kB / 380.9 MB, free: 52.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/0.4884, allocations: 2.32 MB / 383.2 MB, free: 51.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.4885, allocations: 37.89 kB / 383.3 MB, free: 51.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4887, allocations: 55.48 kB / 383.3 MB, free: 51.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.4909, allocations: 0.749 MB / 384.1 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.491, allocations: 3.938 kB / 384.1 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.4911, allocations: 25.45 kB / 384.1 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.4911, allocations: 20.28 kB / 384.1 MB, free: 51.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.4931, allocations: 0.8582 MB / 385 MB, free: 51.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006889/0.5, allocations: 3.128 MB / 388.1 MB, free: 50.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.5013, allocations: 0.6153 MB / 388.7 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.5023, allocations: 0.668 MB / 389.4 MB, free: 49.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02353/0.5258, allocations: 30.24 MB / 419.6 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/0.5265, allocations: 377.6 kB / 420 MB, free: 21.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/0.5265, allocations: 0 / 420 MB, free: 21.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001901/0.5284, allocations: 1.18 MB / 421.2 MB, free: 20.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.5285, allocations: 64.44 kB / 421.2 MB, free: 20.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.5313, allocations: 3.072 MB / 424.3 MB, free: 17.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.5314, allocations: 33.7 kB / 424.4 MB, free: 17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009614/0.5323, allocations: 1.572 MB / 425.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5325, allocations: 166.4 kB / 426.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.5325, allocations: 16 kB / 426.1 MB, free: 15.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.5326, allocations: 341.9 kB / 426.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.5331, allocations: 263.4 kB / 426.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.5337, allocations: 0.6218 MB / 427.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.5343, allocations: 346.9 kB / 427.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5343, allocations: 4 kB / 427.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001763/0.536, allocations: 1.282 MB / 428.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5361, allocations: 8 kB / 428.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.5362, allocations: 87.98 kB / 429 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.5362, allocations: 16.75 kB / 429.1 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.5368, allocations: 219.6 kB / 429.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.5369, allocations: 19.94 kB / 429.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5379, allocations: 127 kB / 429.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/0.538, allocations: 71.5 kB / 429.5 MB, free: 11.7 MB / 318.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.0006395/0.5387, allocations: 445.5 kB / 429.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.539, allocations: 403.1 kB / 430.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.5415, allocations: 1.262 MB / 431.6 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5415, allocations: 8 kB / 431.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5415, allocations: 0 / 431.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5415, allocations: 3.984 kB / 431.6 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.5444, allocations: 2.196 MB / 433.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.971e-05/0.5445, allocations: 71.98 kB / 433.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.5449, allocations: 99.92 kB / 433.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5449, allocations: 4 kB / 433.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.5449, allocations: 32 kB / 434 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.545, allocations: 11.94 kB / 434 MB, free: 7.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.545, allocations: 3.938 kB / 434 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5467, allocations: 1.386 MB / 435.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.5474, allocations: 492 kB / 435.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.5476, allocations: 8 kB / 435.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.5482, allocations: 43.95 kB / 435.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5484, allocations: 63.89 kB / 436 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.5484, allocations: 40.06 kB / 436 MB, free: 5.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.5506, allocations: 1.984 MB / 438 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5506, allocations: 0 / 438 MB, free: 3.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001411/0.552, allocations: 0.6011 MB / 438.6 MB, free: 2.5 MB / 318.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.001022/0.553, allocations: 0.7456 MB / 439.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.5545, allocations: 0.853 MB / 440.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.5545, allocations: 0 / 440.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.5551, allocations: 463.6 kB / 440.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.5567, allocations: 0.5119 MB / 441.2 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.5641, allocations: 5.226 MB / 446.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.5653, allocations: 1.714 MB / 448.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.5656, allocations: 155.4 kB / 448.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5656, allocations: 0 / 448.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of Templates: time 0.06375/0.6294, allocations: 38.31 MB / 486.6 MB, free: 2.523 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.o] Error 1