Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.InvertersApartRecord,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.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_3.2.3_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.0009371/0.0009368, allocations: 94.05 kB / 17.58 MB, free: 5.789 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.001043/0.001043, allocations: 186.2 kB / 18.48 MB, free: 5.23 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.845/1.845, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0005594/0.0005594, allocations: 8 kB / 281.4 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 47.59 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01588/0.1595, allocations: 12.4 MB / 341.4 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02907/0.1887, allocations: 17.94 MB / 359.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003575/0.1923, allocations: 31.81 kB / 359.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004454/0.1968, allocations: 0.9331 MB / 360.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.2091, allocations: 1.813 MB / 362.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007502/0.2167, allocations: 1.061 MB / 363.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01421/0.231, allocations: 5.922 MB / 369.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.2323, allocations: 420.5 kB / 369.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.2346, allocations: 0.8473 MB / 370.3 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2362, allocations: 0.9862 MB / 371.3 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.2364, allocations: 44 kB / 371.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004717/0.2411, allocations: 1.07 MB / 372.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004472/0.2416, allocations: 285.9 kB / 372.7 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.2431, allocations: 0.6209 MB / 373.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.2471, allocations: 2.707 MB / 376 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2471, allocations: 0 / 376 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.2472, allocations: 0 / 376 MB, free: 4.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.658e-05/0.2473, allocations: 0 / 376 MB, free: 4.828 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.006259/0.2535, allocations: 3.276 MB / 379.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.2536, allocations: 8.031 kB / 379.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.2541, allocations: 399.1 kB / 379.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3036/0.5578, allocations: 2.282 MB / 382 MB, free: 52.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.5579, allocations: 37.27 kB / 382 MB, free: 52.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5581, allocations: 53.89 kB / 382.1 MB, free: 52.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5596, allocations: 0.748 MB / 382.8 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5597, allocations: 0.5 kB / 382.8 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.5597, allocations: 24.7 kB / 382.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.5598, allocations: 20.31 kB / 382.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.5617, allocations: 0.8658 MB / 383.7 MB, free: 52.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.5682, allocations: 3.077 MB / 386.8 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.5695, allocations: 0.6189 MB / 387.4 MB, free: 50.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.5705, allocations: 0.6634 MB / 388.1 MB, free: 50.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02373/0.5943, allocations: 30.23 MB / 418.3 MB, free: 22.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007059/0.595, allocations: 388.9 kB / 418.7 MB, free: 22.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 5.029e-06/0.595, allocations: 1.781 kB / 418.7 MB, free: 22.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002163/0.5972, allocations: 1.154 MB / 419.9 MB, free: 21.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.5973, allocations: 59.41 kB / 419.9 MB, free: 21.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.6002, allocations: 2.917 MB / 422.8 MB, free: 18.24 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.6003, allocations: 33.7 kB / 422.9 MB, free: 18.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009337/0.6012, allocations: 1.5 MB / 424.4 MB, free: 16.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.6014, allocations: 162.2 kB / 424.5 MB, free: 16.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.6014, allocations: 16 kB / 424.5 MB, free: 16.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.6015, allocations: 345.9 kB / 424.9 MB, free: 16.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.602, allocations: 257.7 kB / 425.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.6026, allocations: 0.6292 MB / 425.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.6032, allocations: 340.1 kB / 426.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6032, allocations: 4 kB / 426.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001738/0.6049, allocations: 1.263 MB / 427.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.605, allocations: 14.03 kB / 427.4 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-05/0.6051, allocations: 83.98 kB / 427.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.6051, allocations: 20 kB / 427.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.6057, allocations: 212 kB / 427.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.6058, allocations: 24.8 kB / 427.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.6067, allocations: 122.9 kB / 427.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.6068, allocations: 67.98 kB / 427.9 MB, free: 13.01 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.0006251/0.6075, allocations: 437.4 kB / 428.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.6077, allocations: 379.4 kB / 428.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.6102, allocations: 1.25 MB / 429.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6103, allocations: 7.938 kB / 430 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6103, allocations: 0 / 430 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6103, allocations: 3.984 kB / 430 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.6131, allocations: 2.138 MB / 432.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.422e-05/0.6132, allocations: 75.98 kB / 432.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.6136, allocations: 99.86 kB / 432.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.6136, allocations: 12 kB / 432.3 MB, free: 8.566 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.6137, allocations: 32 kB / 432.3 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6137, allocations: 4 kB / 432.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6137, allocations: 0 / 432.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.6155, allocations: 1.353 MB / 433.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/0.6161, allocations: 488.1 kB / 434.1 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.6163, allocations: 11.98 kB / 434.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/0.6169, allocations: 40.03 kB / 434.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.617, allocations: 67.83 kB / 434.3 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.6171, allocations: 39.98 kB / 434.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001932/0.619, allocations: 1.881 MB / 436.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.619, allocations: 0 / 436.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001238/0.6203, allocations: 0.5894 MB / 436.8 MB, free: 4.051 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.0009139/0.6212, allocations: 0.7372 MB / 437.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.6225, allocations: 0.853 MB / 438.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6226, allocations: 0 / 438.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006414/0.6232, allocations: 467.6 kB / 438.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.6247, allocations: 494.5 kB / 439.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.6312, allocations: 5.005 MB / 444.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.6323, allocations: 1.669 MB / 446 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.6327, allocations: 155.4 kB / 446.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6327, allocations: 3.938 kB / 446.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Templates: time 0.06158/0.6942, allocations: 37.26 MB / 483.4 MB, free: 5.426 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecordCalcHelperMain.o] Error 1