Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 89.08 kB / 17.95 MB, free: 5.629 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.001522/0.001522, allocations: 179.7 kB / 18.86 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 2.331/2.331, allocations: 205.4 MB / 225 MB, free: 13.06 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.0006618/0.0006616, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1548, allocations: 47.59 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003891/0.1588, allocations: 2.439 MB / 332 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1605, allocations: 0.7332 MB / 332.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1606, allocations: 12 kB / 332.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.1608, allocations: 47.67 kB / 332.8 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.161, allocations: 71.38 kB / 332.9 MB, free: 444 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.1616, allocations: 107.8 kB / 333 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.1622, allocations: 414.8 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/0.1627, allocations: 182 kB / 333.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1629, allocations: 147.4 kB / 333.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1632, allocations: 171.2 kB / 333.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.1633, allocations: 24 kB / 333.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.1634, allocations: 24 kB / 334 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.1635, allocations: 71.73 kB / 334 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.1637, allocations: 212.7 kB / 334.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.1642, allocations: 379.1 kB / 334.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1642, allocations: 0 / 334.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1643, allocations: 0 / 334.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1643, allocations: 0 / 334.6 MB, free: 14.72 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001326/0.1656, allocations: 0.6125 MB / 335.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.318e-05/0.1657, allocations: 12.03 kB / 335.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1658, allocations: 48.31 kB / 335.3 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1663, allocations: 280.4 kB / 335.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.1663, allocations: 33.38 kB / 335.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.1664, allocations: 36.38 kB / 335.6 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.1673, allocations: 455.6 kB / 336.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1673, allocations: 4 kB / 336.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.1674, allocations: 24 kB / 336.1 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1674, allocations: 11.98 kB / 336.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.168, allocations: 287.9 kB / 336.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.1704, allocations: 1.314 MB / 337.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.171, allocations: 246.6 kB / 337.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.1715, allocations: 192.8 kB / 338.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1716, allocations: 0 / 338.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.1716, allocations: 38.56 kB / 338.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.1716, allocations: 0 / 338.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001672/0.1733, allocations: 0.5509 MB / 338.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002704/0.1736, allocations: 243.3 kB / 339 MB, free: 10.06 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1739, allocations: 214.8 kB / 339.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.174, allocations: 29.7 kB / 339.2 MB, free: 9.809 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1742, allocations: 199.9 kB / 339.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1743, allocations: 102.5 kB / 339.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.1744, allocations: 33.7 kB / 339.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.1747, allocations: 334.8 kB / 339.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1749, allocations: 71.97 kB / 339.9 MB, free: 9.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.1752, allocations: 168.4 kB / 340.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1763, allocations: 373.5 kB / 340.4 MB, free: 8.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1763, allocations: 0 / 340.4 MB, free: 8.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005069/0.1768, allocations: 284.9 kB / 340.7 MB, free: 8.211 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.1768, allocations: 8.062 kB / 340.7 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1769, allocations: 0 / 340.7 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.1769, allocations: 4 kB / 340.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.1772, allocations: 83.89 kB / 340.8 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.1773, allocations: 3.938 kB / 340.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1775, allocations: 35.67 kB / 340.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1775, allocations: 12 kB / 340.9 MB, free: 8.066 MB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003835/0.1779, allocations: 153.7 kB / 341 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.178, allocations: 31.64 kB / 341 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.807e-05/0.1781, allocations: 42.58 kB / 341.1 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1781, allocations: 0 / 341.1 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.73e-05/0.1781, allocations: 4 kB / 341.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1781, allocations: 0 / 341.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.1796, allocations: 0.7672 MB / 341.9 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1796, allocations: 0 / 341.9 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.1799, allocations: 51.97 kB / 341.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.1803, allocations: 88.8 kB / 342 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1803, allocations: 4 kB / 342 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.1829, allocations: 1.847 MB / 343.9 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1829, allocations: 0 / 343.9 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.184, allocations: 0.513 MB / 344.4 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.1841, allocations: 104.9 kB / 344.5 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1841, allocations: 8.062 kB / 344.5 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1843, allocations: 15.98 kB / 344.5 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.1844, allocations: 23.97 kB / 344.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1844, allocations: 4 kB / 344.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.1846, allocations: 152.6 kB / 344.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1846, allocations: 0 / 344.7 MB, free: 4.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.1851, allocations: 103.7 kB / 344.8 MB, free: 3.914 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002394/0.1854, allocations: 107.2 kB / 344.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.1859, allocations: 215.8 kB / 345.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1859, allocations: 0 / 345.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.1866, allocations: 282.7 kB / 345.4 MB, free: 3.301 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.187, allocations: 27.88 kB / 345.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.189, allocations: 1.122 MB / 346.5 MB, free: 2.121 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/0.19, allocations: 0.7831 MB / 347.3 MB, free: 1.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.1901, allocations: 27.42 kB / 347.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1901, allocations: 0 / 347.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of Templates: time 0.01039/0.2005, allocations: 3.92 MB / 351.2 MB, free: 13.36 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.CoupledInductorsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductorsCalcHelperMain.o] Error 1