Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 88.39 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002487, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 51.48 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006499/0.149, allocations: 5.16 MB / 364 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0048/0.1539, allocations: 1.995 MB / 366 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.1551, allocations: 39.81 kB / 366 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1562, allocations: 298.2 kB / 366.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.1579, allocations: 485.4 kB / 366.8 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.1584, allocations: 131.9 kB / 366.9 MB, free: 6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002701/0.1611, allocations: 2.284 MB / 369.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.163, allocations: 1.405 MB / 370.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.1649, allocations: 0.7589 MB / 371.3 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.1664, allocations: 0.9727 MB / 372.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.1666, allocations: 120 kB / 372.4 MB, free: 416 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.1672, allocations: 187.9 kB / 372.6 MB, free: 228 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.318/0.4852, allocations: 0.5118 MB / 373.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.4869, allocations: 437.8 kB / 373.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007564/0.4945, allocations: 3.085 MB / 376.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-05/0.4946, allocations: 1.828 kB / 376.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.651e-06/0.4946, allocations: 0 / 376.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002247/0.4948, allocations: 1.281 kB / 376.6 MB, free: 10.73 MB / 302.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.007766/0.5026, allocations: 2.051 MB / 378.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5027, allocations: 9.625 kB / 378.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.5046, allocations: 288.3 kB / 379 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.508, allocations: 1.27 MB / 380.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.5082, allocations: 133.1 kB / 380.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.5085, allocations: 177.3 kB / 380.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/0.5146, allocations: 2.541 MB / 383.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.5147, allocations: 0 / 383.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.5149, allocations: 76.42 kB / 383.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.5151, allocations: 93.23 kB / 383.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004594/0.5197, allocations: 2.109 MB / 385.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.5332, allocations: 7.499 MB / 392.9 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.5347, allocations: 1.268 MB / 394.1 MB, free: 3.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006994/0.5354, allocations: 486.7 kB / 394.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.5356, allocations: 115.6 kB / 394.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.5356, allocations: 41.75 kB / 394.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 4.85e-06/0.5357, allocations: 5.375 kB / 394.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004749/0.5404, allocations: 2.293 MB / 397.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5405, allocations: 83.36 kB / 397.1 MB, free: 1.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.5429, allocations: 1.491 MB / 398.6 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.543, allocations: 37.38 kB / 398.7 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006071/0.5436, allocations: 0.9752 MB / 399.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.5438, allocations: 198.5 kB / 399.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.5439, allocations: 26.72 kB / 399.9 MB, free: 15.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5441, allocations: 353.6 kB / 400.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.5447, allocations: 455.1 kB / 400.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.5459, allocations: 1.09 MB / 401.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.5469, allocations: 0.6832 MB / 402.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.5469, allocations: 6.125 kB / 402.4 MB, free: 13.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002835/0.5498, allocations: 1.685 MB / 404.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.5498, allocations: 18.91 kB / 404.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.5499, allocations: 22.34 kB / 404.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/0.5506, allocations: 180.1 kB / 404.3 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008517/0.5515, allocations: 292.1 kB / 404.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.5539, allocations: 2.158 MB / 406.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5553, allocations: 91.58 kB / 406.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.653e-05/0.5554, allocations: 64 kB / 406.9 MB, free: 10.24 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 (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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.5569, allocations: 0.705 MB / 407.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.5572, allocations: 132.9 kB / 407.8 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.5588, allocations: 0.8559 MB / 408.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5588, allocations: 8 kB / 408.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5588, allocations: 0 / 408.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5588, allocations: 0 / 408.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.5633, allocations: 2.519 MB / 411.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.5633, allocations: 4 kB / 411.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.5637, allocations: 99.41 kB / 411.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/0.5643, allocations: 155.8 kB / 411.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.5643, allocations: 12 kB / 411.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.5666, allocations: 2.099 MB / 413.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5667, allocations: 0 / 413.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.5689, allocations: 1.335 MB / 414.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.5696, allocations: 283.5 kB / 415.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.5697, allocations: 15.98 kB / 415.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.5703, allocations: 55.98 kB / 415.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.5704, allocations: 47.03 kB / 415.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.5705, allocations: 20 kB / 415.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001689/0.5722, allocations: 1.024 MB / 416.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.5722, allocations: 0 / 416.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001712/0.5739, allocations: 354.5 kB / 416.6 MB, free: 316 kB / 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 (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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003968/0.5743, allocations: 150.6 kB / 416.8 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.5763, allocations: 1.158 MB / 417.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.5764, allocations: 0 / 417.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.5771, allocations: 0.5099 MB / 418.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.5788, allocations: 375.9 kB / 418.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007194/0.586, allocations: 3.774 MB / 422.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.5875, allocations: 1.67 MB / 424.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.5879, allocations: 91.42 kB / 424.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5879, allocations: 0 / 424.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of Templates: time 0.04742/0.6354, allocations: 31.86 MB / 456.2 MB, free: 8.816 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoadCalcHelperMain.o] Error 1