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.001579/0.001579, 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.002142/0.002142, 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 1.876/1.876, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001814/0.001814, allocations: 55.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1635, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.005732/0.1694, allocations: 2.816 MB / 330.1 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1712, allocations: 0.7487 MB / 330.8 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1714, allocations: 4 kB / 330.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1716, allocations: 51.66 kB / 330.9 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1718, allocations: 71.38 kB / 330.9 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1723, allocations: 107.8 kB / 331 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.1728, allocations: 410.9 kB / 331.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.1733, allocations: 186 kB / 331.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.1736, allocations: 167.4 kB / 331.8 MB, free: 336 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1739, allocations: 195.2 kB / 332 MB, free: 140 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.174, allocations: 32 kB / 332 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.174, allocations: 36 kB / 332 MB, free: 72 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1742, allocations: 91.72 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.1744, allocations: 203 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1749, allocations: 383.2 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1749, allocations: 0 / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.175, allocations: 4 kB / 332.7 MB, free: 15.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.175, allocations: 0 / 332.7 MB, free: 15.4 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.001467/0.1764, allocations: 0.6864 MB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.319e-05/0.1765, allocations: 12.03 kB / 333.4 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.1766, allocations: 40.47 kB / 333.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.1771, allocations: 280.4 kB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.1772, allocations: 37.38 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.1773, allocations: 40.38 kB / 333.8 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000823/0.1781, allocations: 451.6 kB / 334.2 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1782, allocations: 0 / 334.2 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.1782, allocations: 23.98 kB / 334.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.1783, allocations: 12 kB / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.1788, allocations: 283.9 kB / 334.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.1813, allocations: 1.314 MB / 335.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.1819, allocations: 238.6 kB / 336.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.1824, allocations: 192.8 kB / 336.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1825, allocations: 4 kB / 336.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.1825, allocations: 38.56 kB / 336.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.976e-06/0.1825, allocations: 0 / 336.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001572/0.1841, allocations: 0.5469 MB / 336.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.1843, allocations: 239.3 kB / 337.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1845, allocations: 206.8 kB / 337.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.1846, allocations: 37.7 kB / 337.3 MB, free: 10.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1847, allocations: 199.9 kB / 337.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.856e-05/0.1848, allocations: 102.5 kB / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.1849, allocations: 57.69 kB / 337.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1851, allocations: 338.8 kB / 338 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1853, allocations: 71.97 kB / 338.1 MB, free: 9.664 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.1855, allocations: 164.4 kB / 338.3 MB, free: 9.473 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.1865, allocations: 361.5 kB / 338.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1865, allocations: 0 / 338.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005109/0.187, allocations: 280.9 kB / 338.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.187, allocations: 4 kB / 338.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1871, allocations: 3.938 kB / 338.9 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.1871, allocations: 8 kB / 338.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.1875, allocations: 79.89 kB / 339 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1875, allocations: 0 / 339 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1877, allocations: 35.75 kB / 339 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1877, allocations: 12 kB / 339 MB, free: 8.691 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.0004148/0.1881, allocations: 157.7 kB / 339.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.1882, allocations: 27.66 kB / 339.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.1883, allocations: 34.58 kB / 339.2 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1884, allocations: 7.938 kB / 339.2 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/0.1884, allocations: 4 kB / 339.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1884, allocations: 4 kB / 339.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1897, allocations: 0.7633 MB / 340 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.1897, allocations: 0 / 340 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.19, allocations: 47.97 kB / 340.1 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.1903, allocations: 92.75 kB / 340.2 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1904, allocations: 12.02 kB / 340.2 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/0.1927, allocations: 1.843 MB / 342 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1927, allocations: 0 / 342 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.1936, allocations: 0.5014 MB / 342.5 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.1937, allocations: 104.8 kB / 342.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.1937, allocations: 12.06 kB / 342.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1939, allocations: 8 kB / 342.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.194, allocations: 27.95 kB / 342.7 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.194, allocations: 12.12 kB / 342.7 MB, free: 4.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1942, allocations: 148.6 kB / 342.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1942, allocations: 0 / 342.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.1946, allocations: 103.8 kB / 342.9 MB, free: 4.543 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.0002022/0.1948, allocations: 107.2 kB / 343 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.1954, allocations: 211.6 kB / 343.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1954, allocations: 0 / 343.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.1959, allocations: 274.5 kB / 343.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1963, allocations: 32.12 kB / 343.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1981, allocations: 1.027 MB / 344.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.1987, allocations: 0.7831 MB / 345.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.1988, allocations: 23.42 kB / 345.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1988, allocations: 3.938 kB / 345.4 MB, free: 2.012 MB / 286.1 MB Notification: Performance of Templates: time 0.008364/0.2072, allocations: 3.947 MB / 349.3 MB, free: 14.05 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