Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001198/0.001198, allocations: 90.48 kB / 16.95 MB, free: 5.555 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.001414/0.001414, allocations: 191.5 kB / 17.85 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.2 MB / 241.8 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 8 kB / 301.4 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01656/0.1455, allocations: 13.57 MB / 365.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3468/0.4923, allocations: 18.92 MB / 384.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004712/0.4971, allocations: 29.44 kB / 384.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.5022, allocations: 0.9864 MB / 385.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01313/0.5154, allocations: 1.88 MB / 387.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008189/0.5236, allocations: 1.115 MB / 388.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.5377, allocations: 6.178 MB / 394.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.5392, allocations: 429.5 kB / 395 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.5419, allocations: 0.9835 MB / 395.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.5438, allocations: 1.047 MB / 397 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.544, allocations: 42.62 kB / 397 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006526/0.5505, allocations: 1.337 MB / 398.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006326/0.5512, allocations: 274 kB / 398.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.5534, allocations: 0.6513 MB / 399.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.5582, allocations: 2.875 MB / 402.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.5583, allocations: 0 / 402.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5583, allocations: 0 / 402.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001271/0.5584, allocations: 0 / 402.2 MB, free: 2.254 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.006614/0.565, allocations: 3.391 MB / 405.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/0.5651, allocations: 9 kB / 405.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5662, allocations: 411.7 kB / 406 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.5716, allocations: 2.304 MB / 408.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.5717, allocations: 37 kB / 408.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.5719, allocations: 56.84 kB / 408.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.5735, allocations: 0.7538 MB / 409.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5736, allocations: 0 / 409.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.5737, allocations: 19.95 kB / 409.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.5737, allocations: 19.98 kB / 409.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.5755, allocations: 0.8554 MB / 410 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007163/0.5826, allocations: 3.122 MB / 413.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.584, allocations: 0.6189 MB / 413.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.5852, allocations: 0.6721 MB / 414.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03907/0.6243, allocations: 30.16 MB / 444.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008318/0.6252, allocations: 394 kB / 445 MB, free: 4.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.555e-06/0.6252, allocations: 0 / 445 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.002561/0.6278, allocations: 1.171 MB / 446.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.6279, allocations: 59.41 kB / 446.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.6323, allocations: 3.044 MB / 449.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/0.6324, allocations: 33.7 kB / 449.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.6339, allocations: 1.576 MB / 450.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.6341, allocations: 165.6 kB / 451 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.6342, allocations: 16 kB / 451 MB, free: 14.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6344, allocations: 349.8 kB / 451.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.635, allocations: 269.8 kB / 451.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/0.6358, allocations: 0.6138 MB / 452.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.6365, allocations: 344.5 kB / 452.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.6365, allocations: 4 kB / 452.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002465/0.639, allocations: 1.28 MB / 453.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.639, allocations: 8 kB / 453.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.6391, allocations: 80 kB / 453.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/0.6392, allocations: 20 kB / 454 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.64, allocations: 216 kB / 454.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-05/0.64, allocations: 27.86 kB / 454.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6413, allocations: 119 kB / 454.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.6414, allocations: 64 kB / 454.4 MB, free: 10.55 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.00092/0.6424, allocations: 453.5 kB / 454.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/0.6428, allocations: 403.1 kB / 455.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.6459, allocations: 1.262 MB / 456.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.6459, allocations: 4 kB / 456.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.646, allocations: 0 / 456.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.646, allocations: 3.984 kB / 456.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.6498, allocations: 2.182 MB / 458.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/0.6499, allocations: 68.06 kB / 458.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.6504, allocations: 111.8 kB / 458.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6504, allocations: 0 / 458.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.6504, allocations: 28 kB / 458.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6505, allocations: 4 kB / 458.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6505, allocations: 4 kB / 458.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.6529, allocations: 1.388 MB / 460.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009285/0.6538, allocations: 492 kB / 460.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.6541, allocations: 12 kB / 460.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.6547, allocations: 40.03 kB / 460.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.6549, allocations: 63.94 kB / 460.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.655, allocations: 43.94 kB / 460.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002847/0.6578, allocations: 1.967 MB / 462.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6578, allocations: 0 / 462.9 MB, free: 1.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001618/0.6594, allocations: 0.5934 MB / 463.5 MB, free: 1.328 MB / 366.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.001119/0.6606, allocations: 0.7344 MB / 464.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.6623, allocations: 0.8648 MB / 465.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6623, allocations: 0 / 465.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.6631, allocations: 467.2 kB / 465.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.6657, allocations: 0.6161 MB / 466.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/0.6733, allocations: 5.183 MB / 471.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.6746, allocations: 1.71 MB / 473 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.675, allocations: 155.4 kB / 473.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of SimCode: time 1.803e-06/0.675, allocations: 4 kB / 473.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of Templates: time 0.06555/0.7406, allocations: 38.11 MB / 0.4993 GB, free: 1.527 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModelCalcHelperMain.o] Error 1