Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008897/0.0008898, allocations: 95.3 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009574/0.0009574, allocations: 198.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 227.3 MB / 246.6 MB, free: 11.9 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 8 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 51.5 MB / 358.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.005358/0.1214, allocations: 4.792 MB / 363.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.1249, allocations: 1.687 MB / 365.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.1252, allocations: 20 kB / 365.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.1258, allocations: 198.9 kB / 365.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.127, allocations: 0.4978 MB / 366 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.1278, allocations: 330.7 kB / 366.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.1285, allocations: 0.7352 MB / 367 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.1312, allocations: 1.498 MB / 368.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.1318, allocations: 274.9 kB / 368.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.1323, allocations: 418.4 kB / 369.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.1323, allocations: 40 kB / 369.3 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.1329, allocations: 195.8 kB / 369.5 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1331, allocations: 131.5 kB / 369.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1333, allocations: 169.3 kB / 369.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1344, allocations: 0.9038 MB / 370.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1344, allocations: 0 / 370.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1344, allocations: 0 / 370.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.1344, allocations: 0 / 370.6 MB, free: 2.164 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003188/0.1376, allocations: 1.204 MB / 371.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.1377, allocations: 12.03 kB / 371.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.1419, allocations: 0.6586 MB / 372.5 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.274/0.4159, allocations: 402.3 kB / 372.9 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.4161, allocations: 73.53 kB / 373 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/0.4164, allocations: 96.05 kB / 373.1 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.4191, allocations: 0.9822 MB / 374.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.4192, allocations: 3.312 kB / 374.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.4193, allocations: 39.62 kB / 374.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.4194, allocations: 22.69 kB / 374.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.4217, allocations: 0.9301 MB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.4279, allocations: 3.449 MB / 378.5 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.4304, allocations: 2.237 MB / 380.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.431, allocations: 293.6 kB / 381 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.4312, allocations: 181.1 kB / 381.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4312, allocations: 48.25 kB / 381.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 3.146e-06/0.4312, allocations: 0 / 381.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001757/0.433, allocations: 0.7216 MB / 382 MB, free: 13.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4331, allocations: 111.2 kB / 382.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.4336, allocations: 269.2 kB / 382.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.4336, allocations: 36.14 kB / 382.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.434, allocations: 380.2 kB / 382.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.4342, allocations: 230.1 kB / 383 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.4342, allocations: 16.41 kB / 383 MB, free: 12.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4344, allocations: 347.2 kB / 383.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.4349, allocations: 225.8 kB / 383.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.4355, allocations: 441.2 kB / 384 MB, free: 12.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/0.4361, allocations: 290.3 kB / 384.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4361, allocations: 1.438 kB / 384.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001375/0.4375, allocations: 0.757 MB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.4375, allocations: 10.05 kB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4375, allocations: 5.656 kB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.4375, allocations: 10.88 kB / 385.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.4383, allocations: 193 kB / 385.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.4383, allocations: 20.58 kB / 385.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.4388, allocations: 80.14 kB / 385.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.4388, allocations: 31.05 kB / 385.4 MB, free: 11.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * 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.0003499/0.4392, allocations: 220 kB / 385.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.4393, allocations: 43.44 kB / 385.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.4409, allocations: 0.6612 MB / 386.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.4409, allocations: 8.391 kB / 386.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.4409, allocations: 1.094 kB / 386.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.441, allocations: 4.609 kB / 386.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.444, allocations: 1.487 MB / 387.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.444, allocations: 1.344 kB / 387.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.4446, allocations: 141.2 kB / 387.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.4446, allocations: 10.59 kB / 387.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.4447, allocations: 18.47 kB / 388 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.4447, allocations: 3.062 kB / 388 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4447, allocations: 1.094 kB / 388 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.4466, allocations: 1.13 MB / 389.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.4468, allocations: 128.5 kB / 389.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.4468, allocations: 11.53 kB / 389.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.4472, allocations: 28.78 kB / 389.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.4473, allocations: 43.58 kB / 389.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.4474, allocations: 23.69 kB / 389.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.4476, allocations: 187.5 kB / 389.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4476, allocations: 0 / 389.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001042/0.4487, allocations: 224.2 kB / 389.7 MB, free: 9.305 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.00034/0.449, allocations: 139.9 kB / 389.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.4503, allocations: 0.6189 MB / 390.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4503, allocations: 0 / 390.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.4508, allocations: 306.5 kB / 390.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.4514, allocations: 42.45 kB / 390.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.4544, allocations: 1.634 MB / 392.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.455, allocations: 0.9 MB / 393.4 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.4553, allocations: 56.48 kB / 393.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4553, allocations: 0 / 393.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of Templates: time 0.01311/0.4684, allocations: 7.173 MB / 400.6 MB, free: 3.836 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.TransformerCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.TransformerCalcHelperMain.o] Error 1