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.001216/0.001216, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001441/0.001441, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.949/1.949, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001383/0.001383, allocations: 43.94 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01432/0.1479, allocations: 13.9 MB / 341.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0265/0.1744, allocations: 19.88 MB / 361 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004287/0.1788, allocations: 31.81 kB / 361 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.1837, allocations: 1.055 MB / 362.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.1953, allocations: 1.891 MB / 364 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006741/0.202, allocations: 1.156 MB / 365.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.215, allocations: 6.207 MB / 371.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.216, allocations: 441.4 kB / 371.8 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.2179, allocations: 0.9444 MB / 372.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.2189, allocations: 1.063 MB / 373.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.2191, allocations: 52 kB / 373.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.2243, allocations: 1.128 MB / 375 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.2247, allocations: 317.5 kB / 375.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.2263, allocations: 1.347 MB / 376.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.2295, allocations: 2.778 MB / 379.4 MB, free: 492 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2295, allocations: 4 kB / 379.4 MB, free: 488 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2295, allocations: 3.938 kB / 379.4 MB, free: 484 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.753e-05/0.2295, allocations: 0 / 379.4 MB, free: 484 kB / 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.3087/0.5383, allocations: 3.694 MB / 383.1 MB, free: 53.69 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.899e-05/0.5384, allocations: 9.219 kB / 383.1 MB, free: 53.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.5394, allocations: 399.2 kB / 383.5 MB, free: 53.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/0.545, allocations: 2.454 MB / 386 MB, free: 52.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.5451, allocations: 38.61 kB / 386 MB, free: 52.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.5453, allocations: 55.19 kB / 386.1 MB, free: 52.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.5472, allocations: 0.7301 MB / 386.8 MB, free: 52.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5473, allocations: 0 / 386.8 MB, free: 52.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.5474, allocations: 21.47 kB / 386.8 MB, free: 52.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.5474, allocations: 23.94 kB / 386.8 MB, free: 52.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.5496, allocations: 0.8149 MB / 387.6 MB, free: 51.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008844/0.5584, allocations: 3.064 MB / 390.7 MB, free: 50.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.56, allocations: 0.5757 MB / 391.3 MB, free: 49.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.5614, allocations: 0.6472 MB / 391.9 MB, free: 49.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03355/0.5949, allocations: 30.19 MB / 422.1 MB, free: 20.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007375/0.5957, allocations: 373 kB / 422.5 MB, free: 19.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.956e-06/0.5957, allocations: 0 / 422.5 MB, free: 19.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002732/0.5985, allocations: 1.092 MB / 423.6 MB, free: 18.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.5985, allocations: 59.41 kB / 423.6 MB, free: 18.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/0.6025, allocations: 2.952 MB / 426.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/0.6026, allocations: 37.7 kB / 426.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.604, allocations: 1.493 MB / 428.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.6042, allocations: 173.7 kB / 428.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/0.6046, allocations: 226.1 kB / 428.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.6048, allocations: 337.9 kB / 428.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.6054, allocations: 241.8 kB / 429.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/0.6063, allocations: 0.6032 MB / 429.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.6077, allocations: 0.8928 MB / 430.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.6077, allocations: 4 kB / 430.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002787/0.6105, allocations: 1.24 MB / 431.8 MB, free: 10 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.6106, allocations: 8 kB / 431.8 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.6107, allocations: 83.91 kB / 431.9 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-05/0.6108, allocations: 23.94 kB / 431.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.6114, allocations: 199.7 kB / 432.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.972e-05/0.6115, allocations: 27.86 kB / 432.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.6136, allocations: 114.2 kB / 432.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.6137, allocations: 67.38 kB / 432.3 MB, free: 9.5 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 (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.001257/0.615, allocations: 437.3 kB / 432.8 MB, free: 9.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.6161, allocations: 387 kB / 433.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/0.6197, allocations: 1.196 MB / 434.3 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6198, allocations: 7.938 kB / 434.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.6198, allocations: 4 kB / 434.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6198, allocations: 0 / 434.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/0.6256, allocations: 2.103 MB / 436.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.35e-05/0.6257, allocations: 71.94 kB / 436.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.6262, allocations: 95.92 kB / 436.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.6262, allocations: 0 / 436.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.6263, allocations: 35.98 kB / 436.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.637e-05/0.6263, allocations: 4 kB / 436.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-06/0.6263, allocations: 2.578 kB / 436.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.6294, allocations: 1.309 MB / 438 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/0.6315, allocations: 476.3 kB / 438.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/0.633, allocations: 12 kB / 438.4 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.6347, allocations: 27.95 kB / 438.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.6349, allocations: 63.61 kB / 438.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.635, allocations: 39.98 kB / 438.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003439/0.6385, allocations: 1.92 MB / 440.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6385, allocations: 4.062 kB / 440.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002388/0.6409, allocations: 0.5855 MB / 441.1 MB, free: 0.6484 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 (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.001291/0.6422, allocations: 0.7854 MB / 441.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.6441, allocations: 0.8103 MB / 442.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6441, allocations: 0 / 442.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.6449, allocations: 443.3 kB / 443.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.6477, allocations: 495.9 kB / 443.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008406/0.6561, allocations: 5.27 MB / 448.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.6573, allocations: 1.669 MB / 450.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.6578, allocations: 151.4 kB / 450.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6578, allocations: 4 kB / 450.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of Templates: time 0.0752/0.733, allocations: 37.53 MB / 488.2 MB, free: 1.367 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++ -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.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