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.0009053/0.0009057, allocations: 91.28 kB / 17.58 MB, free: 5.801 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.0008303/0.0008305, allocations: 185 kB / 18.48 MB, free: 5.254 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.938/1.938, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004781/0.0004785, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007543/0.1252, allocations: 5.105 MB / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004757/0.13, allocations: 2.015 MB / 336.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1311, allocations: 31.81 kB / 336.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009482/0.132, allocations: 302.2 kB / 336.4 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.1338, allocations: 485.3 kB / 336.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1343, allocations: 147.8 kB / 337.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.1373, allocations: 2.339 MB / 339.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.1391, allocations: 1.33 MB / 340.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.1409, allocations: 0.7589 MB / 341.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.1428, allocations: 0.9845 MB / 342.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.1431, allocations: 132 kB / 342.6 MB, free: 6.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006038/0.1437, allocations: 183.9 kB / 342.8 MB, free: 6.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005075/0.1442, allocations: 0.5178 MB / 343.3 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.1448, allocations: 440.6 kB / 343.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.148, allocations: 3.086 MB / 346.8 MB, free: 2.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.148, allocations: 0 / 346.8 MB, free: 2.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1481, allocations: 0 / 346.8 MB, free: 2.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001066/0.1482, allocations: 0 / 346.8 MB, free: 2.152 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004637/0.1528, allocations: 2.03 MB / 348.8 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.158e-05/0.1529, allocations: 12.02 kB / 348.8 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.1539, allocations: 253.5 kB / 349.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.156, allocations: 1.2 MB / 350.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.1561, allocations: 131.5 kB / 350.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.1564, allocations: 172 kB / 350.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/0.1614, allocations: 2.535 MB / 353.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.1615, allocations: 0 / 353.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.1616, allocations: 75.78 kB / 353.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.1618, allocations: 95.58 kB / 353.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.1655, allocations: 2.11 MB / 355.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.1781, allocations: 7.504 MB / 362.9 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.1805, allocations: 1.267 MB / 364.2 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.1816, allocations: 491 kB / 364.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.182, allocations: 109.5 kB / 364.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/0.1821, allocations: 39 kB / 364.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 4.107e-06/0.1821, allocations: 0 / 364.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.006323/0.1884, allocations: 2.292 MB / 367.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1886, allocations: 85.55 kB / 367.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.1913, allocations: 1.492 MB / 368.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.1914, allocations: 41.64 kB / 368.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.1922, allocations: 0.9712 MB / 369.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.1924, allocations: 201.3 kB / 369.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.1924, allocations: 28 kB / 369.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1926, allocations: 361.9 kB / 370.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/0.1934, allocations: 454.3 kB / 370.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.1947, allocations: 1.087 MB / 371.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1957, allocations: 0.6838 MB / 372.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.1957, allocations: 4 kB / 372.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002986/0.1987, allocations: 1.695 MB / 374.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.1987, allocations: 16 kB / 374.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.1988, allocations: 20 kB / 374.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008153/0.1996, allocations: 184.9 kB / 374.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/0.2004, allocations: 291.5 kB / 374.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.2029, allocations: 2.155 MB / 376.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.204, allocations: 91.62 kB / 376.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.2041, allocations: 64 kB / 377 MB, free: 2.836 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.001365/0.2055, allocations: 0.704 MB / 377.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.2059, allocations: 134.4 kB / 377.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.2075, allocations: 0.8452 MB / 378.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2075, allocations: 8 kB / 378.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2075, allocations: 0 / 378.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2075, allocations: 4.172 kB / 378.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2368/0.4443, allocations: 2.521 MB / 381.2 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4443, allocations: 3.969 kB / 381.2 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.4448, allocations: 99.09 kB / 381.3 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/0.4454, allocations: 159 kB / 381.4 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.4455, allocations: 13.41 kB / 381.5 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.4476, allocations: 2.091 MB / 383.6 MB, free: 48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.4477, allocations: 8.422 kB / 383.6 MB, free: 48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.4497, allocations: 1.328 MB / 384.9 MB, free: 47.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/0.4502, allocations: 280.2 kB / 385.2 MB, free: 47.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.4504, allocations: 20.55 kB / 385.2 MB, free: 47.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.4509, allocations: 54.09 kB / 385.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.4511, allocations: 49.86 kB / 385.3 MB, free: 47.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.4511, allocations: 18.8 kB / 385.3 MB, free: 47.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001695/0.4528, allocations: 1.025 MB / 386.3 MB, free: 47.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.031e-06/0.4528, allocations: 0 / 386.3 MB, free: 47.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001504/0.4543, allocations: 355.9 kB / 386.7 MB, free: 47.04 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 (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.0003841/0.4547, allocations: 145.6 kB / 386.8 MB, free: 46.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.4568, allocations: 1.152 MB / 388 MB, free: 46.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.4568, allocations: 5.562 kB / 388 MB, free: 46.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.4577, allocations: 0.5179 MB / 388.5 MB, free: 46.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.4595, allocations: 368.3 kB / 388.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006079/0.4655, allocations: 3.77 MB / 392.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.4668, allocations: 1.664 MB / 394.3 MB, free: 43.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.4672, allocations: 95.45 kB / 394.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4672, allocations: 0 / 394.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of Templates: time 0.03629/0.5035, allocations: 31.87 MB / 426.2 MB, free: 15.53 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++ 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.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