Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 96.95 kB / 17.96 MB, free: 5.77 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.002815/0.002815, allocations: 179.9 kB / 18.86 MB, free: 4.906 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.145/2.145, allocations: 205.4 MB / 225 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.0005123/0.0005123, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007075/0.1294, allocations: 5.393 MB / 335 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005007/0.1345, allocations: 2.104 MB / 337.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.1353, allocations: 31.81 kB / 337.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.1362, allocations: 326.4 kB / 337.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.1377, allocations: 0.5013 MB / 338 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1382, allocations: 207.8 kB / 338.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.1408, allocations: 2.537 MB / 340.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.1428, allocations: 1.531 MB / 342.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.1453, allocations: 0.7809 MB / 343 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.1467, allocations: 1.015 MB / 344 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.1469, allocations: 128 kB / 344.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.1474, allocations: 223.8 kB / 344.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.148, allocations: 0.5216 MB / 344.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.1491, allocations: 1.036 MB / 345.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.1522, allocations: 3.093 MB / 349 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1522, allocations: 0 / 349 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1522, allocations: 0 / 349 MB, free: 244 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.69e-05/0.1523, allocations: 0 / 349 MB, free: 244 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003828/0.1561, allocations: 2.006 MB / 351 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.1562, allocations: 12.03 kB / 351 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.1569, allocations: 250.3 kB / 351.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.1589, allocations: 1.224 MB / 352.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.159, allocations: 143.5 kB / 352.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.1593, allocations: 179.9 kB / 352.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.1638, allocations: 2.547 MB / 355.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.1638, allocations: 3.938 kB / 355.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.164, allocations: 75.98 kB / 355.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.1641, allocations: 95.58 kB / 355.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003527/0.1676, allocations: 2.118 MB / 357.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.1791, allocations: 7.507 MB / 365.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.1808, allocations: 1.271 MB / 366.4 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007953/0.1816, allocations: 491 kB / 366.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.1819, allocations: 117.5 kB / 367 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.182, allocations: 38.94 kB / 367.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 3.867e-06/0.182, allocations: 7.938 kB / 367.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004948/0.1869, allocations: 2.292 MB / 369.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.187, allocations: 89.55 kB / 369.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.1897, allocations: 1.508 MB / 371 MB, free: 9.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.1898, allocations: 37.7 kB / 371 MB, free: 9.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008812/0.1906, allocations: 0.9672 MB / 372 MB, free: 8.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1908, allocations: 201.3 kB / 372.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.191, allocations: 101.7 kB / 372.3 MB, free: 8.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1912, allocations: 361.9 kB / 372.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.1919, allocations: 462.3 kB / 373.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.1933, allocations: 1.094 MB / 374.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.1952, allocations: 1.634 MB / 375.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1952, allocations: 4 kB / 375.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002688/0.1979, allocations: 1.698 MB / 377.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.1979, allocations: 15.98 kB / 377.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/0.198, allocations: 24 kB / 377.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007902/0.1988, allocations: 177.1 kB / 377.7 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.1997, allocations: 287.5 kB / 378 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2662/0.4659, allocations: 2.155 MB / 380.2 MB, free: 48.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.4677, allocations: 88.12 kB / 380.2 MB, free: 48.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.4679, allocations: 67.77 kB / 380.3 MB, free: 48.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001835/0.4697, allocations: 0.7103 MB / 381 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.4702, allocations: 131.3 kB / 381.1 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.4724, allocations: 0.8504 MB / 382 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4724, allocations: 6.328 kB / 382 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4724, allocations: 1.75 kB / 382 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4724, allocations: 2.625 kB / 382 MB, free: 48.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00513/0.4776, allocations: 2.52 MB / 384.5 MB, free: 47.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.4776, allocations: 3.141 kB / 384.5 MB, free: 47.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.478, allocations: 103.2 kB / 384.6 MB, free: 47.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007622/0.4788, allocations: 159.4 kB / 384.8 MB, free: 47.9 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.4789, allocations: 20.17 kB / 384.8 MB, free: 47.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.4811, allocations: 2.092 MB / 386.9 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.4811, allocations: 7.375 kB / 386.9 MB, free: 46.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.4838, allocations: 1.335 MB / 388.2 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/0.4845, allocations: 286.8 kB / 388.5 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.4846, allocations: 15.91 kB / 388.5 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.4852, allocations: 53.89 kB / 388.6 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.4854, allocations: 48.75 kB / 388.6 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.4854, allocations: 20.55 kB / 388.7 MB, free: 45.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.4875, allocations: 1.035 MB / 389.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4875, allocations: 0 / 389.7 MB, free: 45.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001795/0.4893, allocations: 347.6 kB / 390 MB, free: 44.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005239/0.4898, allocations: 185 kB / 390.2 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.4924, allocations: 1.161 MB / 391.4 MB, free: 44.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4924, allocations: 1.25 kB / 391.4 MB, free: 44.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.4933, allocations: 0.5213 MB / 391.9 MB, free: 44.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.4955, allocations: 360 kB / 392.3 MB, free: 44.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.5019, allocations: 3.971 MB / 396.2 MB, free: 41.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.5034, allocations: 1.666 MB / 397.9 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.5038, allocations: 93.2 kB / 398 MB, free: 40.79 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5038, allocations: 0 / 398 MB, free: 40.79 MB / 318.1 MB Notification: Performance of Templates: time 0.04838/0.5522, allocations: 31.89 MB / 429.9 MB, free: 11.5 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1