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.0007927/0.0007924, allocations: 88.55 kB / 17.58 MB, free: 5.758 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.0008455/0.0008455, allocations: 186.4 kB / 18.48 MB, free: 5.203 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.743/1.743, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0004447/0.0004448, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003042/0.1183, allocations: 2.316 MB / 331.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1198, allocations: 0.7101 MB / 332 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1199, allocations: 8 kB / 332 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.534e-05/0.12, allocations: 43.61 kB / 332.1 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1202, allocations: 79.36 kB / 332.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1206, allocations: 91.86 kB / 332.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.121, allocations: 406.9 kB / 332.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.1214, allocations: 162.3 kB / 332.8 MB, free: 268 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1216, allocations: 135.6 kB / 332.9 MB, free: 132 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1219, allocations: 163.3 kB / 333.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.1219, allocations: 24 kB / 333.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.122, allocations: 24 kB / 333.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.1221, allocations: 67.66 kB / 333.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1222, allocations: 93.52 kB / 333.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.1226, allocations: 383.1 kB / 333.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1226, allocations: 0 / 333.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1226, allocations: 0 / 333.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1226, allocations: 0 / 333.6 MB, free: 15.38 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.001061/0.1237, allocations: 0.6201 MB / 334.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1238, allocations: 11.97 kB / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.1239, allocations: 47.44 kB / 334.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.1242, allocations: 287 kB / 334.6 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1243, allocations: 33 kB / 334.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.1243, allocations: 40 kB / 334.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.125, allocations: 451.2 kB / 335.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1251, allocations: 0 / 335.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1251, allocations: 16 kB / 335.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.1251, allocations: 12 kB / 335.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.1256, allocations: 287.9 kB / 335.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1275, allocations: 1.31 MB / 336.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.1279, allocations: 242.6 kB / 337 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.1283, allocations: 188.7 kB / 337.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1284, allocations: 8 kB / 337.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.1284, allocations: 42.55 kB / 337.2 MB, free: 11.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.963e-06/0.1284, allocations: 0 / 337.2 MB, free: 11.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001372/0.1298, allocations: 0.5431 MB / 337.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.13, allocations: 239.3 kB / 338 MB, free: 10.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1303, allocations: 210.7 kB / 338.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1303, allocations: 29.7 kB / 338.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.1305, allocations: 203.9 kB / 338.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.1306, allocations: 102.5 kB / 338.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.1306, allocations: 4 kB / 338.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1308, allocations: 334.8 kB / 338.8 MB, free: 9.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1309, allocations: 79.95 kB / 338.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.1311, allocations: 152.4 kB / 339.1 MB, free: 9.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1313, allocations: 108.7 kB / 339.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1313, allocations: 0 / 339.2 MB, free: 9.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004258/0.1318, allocations: 269.3 kB / 339.4 MB, free: 9.203 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1318, allocations: 14.61 kB / 339.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1318, allocations: 0 / 339.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1318, allocations: 12.05 kB / 339.5 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.1322, allocations: 75.91 kB / 339.5 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1322, allocations: 4 kB / 339.5 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1323, allocations: 35.67 kB / 339.6 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1324, allocations: 12 kB / 339.6 MB, free: 9.055 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.1326, allocations: 161.7 kB / 339.8 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1327, allocations: 23.81 kB / 339.8 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.1327, allocations: 30.61 kB / 339.8 MB, free: 8.832 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1328, allocations: 4 kB / 339.8 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.1328, allocations: 4 kB / 339.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1328, allocations: 3.984 kB / 339.8 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1338, allocations: 0.7681 MB / 340.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1338, allocations: 4.031 kB / 340.6 MB, free: 7.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1341, allocations: 51.91 kB / 340.6 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.1344, allocations: 92.72 kB / 340.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1344, allocations: 8 kB / 340.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.1363, allocations: 1.827 MB / 342.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1363, allocations: 0 / 342.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.137, allocations: 0.5171 MB / 343.1 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1371, allocations: 96.77 kB / 343.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.1371, allocations: 12.05 kB / 343.2 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1373, allocations: 16 kB / 343.2 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.1373, allocations: 23.97 kB / 343.2 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1373, allocations: 4 kB / 343.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1375, allocations: 156.4 kB / 343.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1375, allocations: 0 / 343.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.1379, allocations: 115.5 kB / 343.5 MB, free: 4.902 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/0.138, allocations: 103.2 kB / 343.6 MB, free: 4.793 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1384, allocations: 208 kB / 343.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1384, allocations: 0 / 343.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.1388, allocations: 274.5 kB / 344.1 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1391, allocations: 36.12 kB / 344.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1406, allocations: 1.088 MB / 345.2 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.141, allocations: 0.787 MB / 346 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.141, allocations: 23.44 kB / 346 MB, free: 2.316 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.141, allocations: 0 / 346 MB, free: 2.316 MB / 286.1 MB Notification: Performance of Templates: time 0.006191/0.1472, allocations: 3.916 MB / 349.9 MB, free: 14.39 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++ 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.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