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.001221/0.001221, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001378/0.001378, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001304/0.001304, allocations: 47.94 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1318, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01511/0.1469, allocations: 14.47 MB / 341.7 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02735/0.1743, allocations: 19.95 MB / 361.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004917/0.1793, allocations: 31.81 kB / 361.7 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005774/0.1852, allocations: 1.079 MB / 362.8 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.014/0.1992, allocations: 1.934 MB / 364.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008196/0.2074, allocations: 1.156 MB / 365.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.2226, allocations: 6.335 MB / 372.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.224, allocations: 442 kB / 372.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.2265, allocations: 0.9754 MB / 373.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.2293, allocations: 1.102 MB / 374.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007411/0.2301, allocations: 52 kB / 374.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007176/0.2373, allocations: 1.132 MB / 375.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.2385, allocations: 321.4 kB / 376.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003517/0.242, allocations: 1.413 MB / 377.6 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3618/0.6038, allocations: 2.944 MB / 380.6 MB, free: 22.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.6039, allocations: 1.375 kB / 380.6 MB, free: 22.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6039, allocations: 0 / 380.6 MB, free: 22.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000223/0.6041, allocations: 0 / 380.6 MB, free: 22.85 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.01112/0.6152, allocations: 3.863 MB / 384.4 MB, free: 20.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.581e-05/0.6153, allocations: 9.922 kB / 384.4 MB, free: 20.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.6172, allocations: 414.1 kB / 384.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008649/0.6258, allocations: 2.501 MB / 387.3 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.6259, allocations: 42.98 kB / 387.4 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.6263, allocations: 55.16 kB / 387.4 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.629, allocations: 0.7268 MB / 388.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.6291, allocations: 2.141 kB / 388.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.6292, allocations: 22.28 kB / 388.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/0.6293, allocations: 22.81 kB / 388.2 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.6317, allocations: 0.8181 MB / 389 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.6436, allocations: 3.116 MB / 392.1 MB, free: 19.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6453, allocations: 0.5781 MB / 392.7 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.6466, allocations: 0.6443 MB / 393.4 MB, free: 19.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04095/0.6875, allocations: 30.2 MB / 423.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.6889, allocations: 368.9 kB / 423.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 5.23e-06/0.6889, allocations: 0 / 423.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.004379/0.6933, allocations: 1.115 MB / 425 MB, free: 8.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.6934, allocations: 66.41 kB / 425.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009009/0.7025, allocations: 3.104 MB / 428.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.7027, allocations: 37.05 kB / 428.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001997/0.7047, allocations: 1.576 MB / 429.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.7051, allocations: 170.2 kB / 430 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004655/0.7055, allocations: 228.9 kB / 430.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.7058, allocations: 341.9 kB / 430.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.7065, allocations: 241.1 kB / 430.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.7075, allocations: 0.604 MB / 431.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.7092, allocations: 0.891 MB / 432.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.7092, allocations: 4 kB / 432.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003374/0.7126, allocations: 1.255 MB / 433.5 MB, free: 28 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.7127, allocations: 12.03 kB / 433.5 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/0.7128, allocations: 87.98 kB / 433.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/0.7129, allocations: 23.56 kB / 433.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/0.7137, allocations: 198 kB / 433.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/0.7137, allocations: 22.75 kB / 433.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.716, allocations: 119 kB / 434 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.7162, allocations: 64 kB / 434 MB, free: 15.54 MB / 350.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 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.7175, allocations: 450.5 kB / 434.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/0.7183, allocations: 399.1 kB / 434.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.7217, allocations: 1.224 MB / 436.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.7218, allocations: 4.875 kB / 436.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.7218, allocations: 0 / 436.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7218, allocations: 9.719 kB / 436.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006022/0.7278, allocations: 2.142 MB / 438.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001133/0.728, allocations: 71.98 kB / 438.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.7285, allocations: 98.8 kB / 438.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.7286, allocations: 0 / 438.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/0.7287, allocations: 38.89 kB / 438.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.7287, allocations: 4 kB / 438.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7287, allocations: 0 / 438.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.732, allocations: 1.333 MB / 439.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/0.7339, allocations: 492 kB / 440.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/0.7352, allocations: 12 kB / 440.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.7367, allocations: 31.95 kB / 440.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.737, allocations: 55.95 kB / 440.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.7371, allocations: 39.98 kB / 440.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.005601/0.7427, allocations: 2.023 MB / 442.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7427, allocations: 0 / 442.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003568/0.7463, allocations: 0.5973 MB / 443 MB, free: 6.484 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002294/0.7486, allocations: 0.7823 MB / 443.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.7511, allocations: 0.8144 MB / 444.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7511, allocations: 0 / 444.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.7522, allocations: 446.4 kB / 445.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/0.758, allocations: 0.5035 MB / 445.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.7726, allocations: 5.509 MB / 451.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.7754, allocations: 1.718 MB / 452.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/0.7761, allocations: 151.4 kB / 452.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 3.416e-06/0.7761, allocations: 4 kB / 452.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.09567/0.8718, allocations: 38.59 MB / 491.5 MB, free: 6.141 MB / 398.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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