Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001169, allocations: 96.91 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.001444/0.001444, allocations: 199.2 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.679/1.679, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003692, allocations: 8 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006058/0.157, allocations: 5.173 MB / 364 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.1608, allocations: 1.609 MB / 365.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/0.1618, allocations: 27.88 kB / 365.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.1623, allocations: 174.5 kB / 365.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.1628, allocations: 174.5 kB / 365.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1639, allocations: 335.6 kB / 366.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1653, allocations: 1.235 MB / 367.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008687/0.1662, allocations: 461.9 kB / 368 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.1669, allocations: 362.3 kB / 368.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.1674, allocations: 393.7 kB / 368.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.074e-05/0.1675, allocations: 48 kB / 368.7 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1677, allocations: 64 kB / 368.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.1679, allocations: 179.1 kB / 369 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.1681, allocations: 241 kB / 369.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.1692, allocations: 1.165 MB / 370.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1692, allocations: 0 / 370.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.277e-05/0.1692, allocations: 0 / 370.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.1693, allocations: 4 kB / 370.4 MB, free: 2.5 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001836/0.1711, allocations: 1.244 MB / 371.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1712, allocations: 8.031 kB / 371.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.1716, allocations: 166.3 kB / 371.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.1726, allocations: 0.693 MB / 372.5 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.1727, allocations: 94.39 kB / 372.6 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1728, allocations: 120 kB / 372.7 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2743/0.4471, allocations: 1.253 MB / 373.9 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.513e-05/0.4472, allocations: 9.594 kB / 374 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.4473, allocations: 51.58 kB / 374 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.4474, allocations: 35.81 kB / 374 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.4492, allocations: 0.6844 MB / 374.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006928/0.4561, allocations: 6.819 MB / 381.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008453/0.457, allocations: 270.5 kB / 381.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.4574, allocations: 180.3 kB / 382 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.4576, allocations: 88.41 kB / 382.1 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4577, allocations: 40.52 kB / 382.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.4577, allocations: 3.875 kB / 382.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002815/0.4605, allocations: 1.407 MB / 383.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.4605, allocations: 85.81 kB / 383.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4616, allocations: 0.6512 MB / 384.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4617, allocations: 30.83 kB / 384.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.4622, allocations: 0.6797 MB / 385 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4623, allocations: 118.6 kB / 385.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.4623, allocations: 15.59 kB / 385.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4625, allocations: 387.1 kB / 385.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.4629, allocations: 152.1 kB / 385.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.4635, allocations: 0.5494 MB / 386.2 MB, free: 9.859 MB / 302.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.4642, allocations: 454.6 kB / 386.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.4642, allocations: 4.188 kB / 386.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00149/0.4657, allocations: 0.7922 MB / 387.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.4658, allocations: 14.39 kB / 387.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.4658, allocations: 15.38 kB / 387.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.4661, allocations: 84.5 kB / 387.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.4667, allocations: 190.3 kB / 387.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.4689, allocations: 2.977 MB / 390.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.4695, allocations: 33.03 kB / 390.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.4696, allocations: 44.61 kB / 390.8 MB, free: 6.203 MB / 302.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006144/0.4702, allocations: 268.4 kB / 391 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4704, allocations: 82.89 kB / 391.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.4705, allocations: 70.05 kB / 391.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4705, allocations: 3.344 kB / 391.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.4706, allocations: 2.25 kB / 391.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4706, allocations: 2.672 kB / 391.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.4728, allocations: 1.26 MB / 392.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4728, allocations: 1.406 kB / 392.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.4732, allocations: 66.45 kB / 392.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.4734, allocations: 60.11 kB / 392.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.4734, allocations: 13.17 kB / 392.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.4751, allocations: 2.78 MB / 395.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4751, allocations: 3.609 kB / 395.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.4761, allocations: 0.6369 MB / 396 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4762, allocations: 139.3 kB / 396.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.4763, allocations: 12.86 kB / 396.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.4765, allocations: 22.97 kB / 396.2 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.4766, allocations: 23.58 kB / 396.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4767, allocations: 10.83 kB / 396.2 MB, free: 1.766 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006686/0.4773, allocations: 431.7 kB / 396.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4773, allocations: 0 / 396.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001203/0.4786, allocations: 158.9 kB / 396.8 MB, free: 1.555 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.4788, allocations: 110.3 kB / 396.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4799, allocations: 0.6569 MB / 397.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.48, allocations: 1.25 kB / 397.6 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/0.4804, allocations: 362.8 kB / 397.9 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.481, allocations: 88.36 kB / 398 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.4849, allocations: 2.352 MB / 400.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009028/0.4858, allocations: 1.04 MB / 401.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.486, allocations: 59.28 kB / 401.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4861, allocations: 0 / 401.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of Templates: time 0.03381/0.5199, allocations: 19.35 MB / 420.8 MB, free: 14.75 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.Analog.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1