Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.InvertersApartRecord,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.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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 92.33 kB / 16.95 MB, free: 5.953 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.00126/0.00126, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.557/1.557, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 11.94 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 50.43 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01322/0.1362, allocations: 13.02 MB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3062/0.4424, allocations: 18.86 MB / 383.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003579/0.4461, allocations: 29.44 kB / 383.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.4508, allocations: 0.9639 MB / 384.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.4633, allocations: 1.839 MB / 386.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008285/0.4717, allocations: 1.116 MB / 387.7 MB, free: 7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.4881, allocations: 6.056 MB / 393.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.4897, allocations: 419.1 kB / 394.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.4934, allocations: 0.9495 MB / 395.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.4967, allocations: 1.015 MB / 396.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.497, allocations: 43.34 kB / 396.2 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008049/0.5051, allocations: 1.329 MB / 397.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006998/0.5058, allocations: 271.8 kB / 397.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.5083, allocations: 0.6211 MB / 398.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.5133, allocations: 2.69 MB / 401.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.5133, allocations: 0 / 401.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.5133, allocations: 0 / 401.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.5134, allocations: 0 / 401.1 MB, free: 3.062 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.005816/0.5193, allocations: 3.259 MB / 404.3 MB, free: 0.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5193, allocations: 8.594 kB / 404.3 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.5199, allocations: 395.9 kB / 404.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.5242, allocations: 2.271 MB / 407 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.5243, allocations: 37 kB / 407 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5244, allocations: 51.98 kB / 407.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.526, allocations: 0.746 MB / 407.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.526, allocations: 0.8438 kB / 407.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.5261, allocations: 20 kB / 407.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.5261, allocations: 19.98 kB / 407.9 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.5278, allocations: 0.8592 MB / 408.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007418/0.5353, allocations: 3.083 MB / 411.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5366, allocations: 0.6142 MB / 412.4 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.5378, allocations: 0.6721 MB / 413.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03574/0.5735, allocations: 30.15 MB / 443.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008614/0.5745, allocations: 389.3 kB / 443.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 3.646e-06/0.5745, allocations: 3.938 kB / 443.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.002708/0.5772, allocations: 1.152 MB / 444.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.5773, allocations: 59.34 kB / 444.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.5815, allocations: 2.896 MB / 447.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.5816, allocations: 37.7 kB / 447.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.5833, allocations: 1.485 MB / 449.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.5835, allocations: 169.7 kB / 449.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.5835, allocations: 20 kB / 449.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5838, allocations: 341.9 kB / 449.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.5844, allocations: 257.9 kB / 450 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/0.5853, allocations: 0.6177 MB / 450.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.586, allocations: 340.5 kB / 451 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.586, allocations: 7.953 kB / 451 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003001/0.589, allocations: 1.269 MB / 452.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.5891, allocations: 12 kB / 452.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/0.5892, allocations: 83.98 kB / 452.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.5893, allocations: 16 kB / 452.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.5901, allocations: 211.8 kB / 452.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-05/0.5902, allocations: 24.56 kB / 452.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5918, allocations: 119.1 kB / 452.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.592, allocations: 68 kB / 452.8 MB, free: 12.14 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.00113/0.5931, allocations: 429.5 kB / 453.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/0.5936, allocations: 383.4 kB / 453.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.5969, allocations: 1.249 MB / 454.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.597, allocations: 4 kB / 454.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.597, allocations: 3.188 kB / 454.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.597, allocations: 3.984 kB / 454.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/0.601, allocations: 2.131 MB / 457 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001202/0.6011, allocations: 72 kB / 457 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.6016, allocations: 103.9 kB / 457.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.6017, allocations: 4 kB / 457.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.6017, allocations: 35.98 kB / 457.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6017, allocations: 0 / 457.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6018, allocations: 4 kB / 457.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.6043, allocations: 1.352 MB / 458.5 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.6055, allocations: 476.3 kB / 459 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.6057, allocations: 12 kB / 459 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.6064, allocations: 39.95 kB / 459.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.6065, allocations: 64 kB / 459.1 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/0.6066, allocations: 36 kB / 459.2 MB, free: 5.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003101/0.6098, allocations: 1.868 MB / 461 MB, free: 3.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6098, allocations: 0 / 461 MB, free: 3.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00211/0.6119, allocations: 0.5816 MB / 461.6 MB, free: 3.18 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.001453/0.6134, allocations: 0.7499 MB / 462.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.6152, allocations: 0.8569 MB / 463.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6152, allocations: 0 / 463.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.616, allocations: 471.2 kB / 463.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/0.6189, allocations: 0.588 MB / 464.3 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.6273, allocations: 4.962 MB / 469.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/0.6287, allocations: 1.661 MB / 470.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/0.6293, allocations: 155.4 kB / 471 MB, free: 9.621 MB / 382.1 MB Notification: Performance of SimCode: time 2.565e-06/0.6293, allocations: 0 / 471 MB, free: 9.621 MB / 382.1 MB Notification: Performance of Templates: time 0.07388/0.7032, allocations: 37.06 MB / 0.4962 GB, free: 4.711 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.o] Error 1