Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004068/0.004074, allocations: 357.2 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.075/4.075, allocations: 388.9 MB / 405.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003585/0.003585, allocations: 226.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5706/0.5706, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004626, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5604, allocations: 82.94 MB / 0.7611 GB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5607, allocations: 76.39 kB / 0.7611 GB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03036/0.5911, allocations: 6.887 MB / 0.7679 GB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5911, allocations: 3.938 kB / 0.7679 GB, free: 12.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.5912, allocations: 4 kB / 0.7679 GB, free: 12.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001662/0.5928, allocations: 0.6189 MB / 0.7685 GB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5929, allocations: 8.031 kB / 0.7685 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.5931, allocations: 43.48 kB / 0.7685 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.5936, allocations: 279.5 kB / 0.7688 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.5937, allocations: 22.94 kB / 0.7688 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.5938, allocations: 34.81 kB / 0.7688 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.5949, allocations: 373.6 kB / 0.7692 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5949, allocations: 0 / 0.7692 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.595, allocations: 18.83 kB / 0.7692 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.595, allocations: 8 kB / 0.7692 GB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5961, allocations: 286.1 kB / 0.7695 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.5992, allocations: 1.295 MB / 0.7708 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.6, allocations: 203 kB / 0.771 GB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.6004, allocations: 97.27 kB / 0.7711 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.6005, allocations: 7.984 kB / 0.7711 GB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.6006, allocations: 34.56 kB / 0.7711 GB, free: 9.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 5.911e-06/0.6006, allocations: 0 / 0.7711 GB, free: 9.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001413/0.602, allocations: 283.1 kB / 0.7714 GB, free: 9.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.6021, allocations: 136 kB / 0.7715 GB, free: 9.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.6027, allocations: 324.2 kB / 0.7718 GB, free: 8.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.6027, allocations: 28.39 kB / 0.7718 GB, free: 8.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.6029, allocations: 238.3 kB / 0.7721 GB, free: 8.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.603, allocations: 45.92 kB / 0.7721 GB, free: 8.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.603, allocations: 7.75 kB / 0.7721 GB, free: 8.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6032, allocations: 340.5 kB / 0.7724 GB, free: 8.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.6036, allocations: 92.62 kB / 0.7725 GB, free: 8.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.6042, allocations: 186 kB / 0.7727 GB, free: 7.898 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.6046, allocations: 110.6 kB / 0.7728 GB, free: 7.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6047, allocations: 4 kB / 0.7728 GB, free: 7.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001193/0.6059, allocations: 324.2 kB / 0.7731 GB, free: 7.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.6059, allocations: 8 kB / 0.7731 GB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6059, allocations: 3.984 kB / 0.7731 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.606, allocations: 8 kB / 0.7731 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.6066, allocations: 75.89 kB / 0.7732 GB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.6066, allocations: 4 kB / 0.7732 GB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.6072, allocations: 57.14 kB / 0.7733 GB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.6072, allocations: 14.69 kB / 0.7733 GB, free: 7.391 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0002345/0.6075, allocations: 148.2 kB / 0.7734 GB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6076, allocations: 38.8 kB / 0.7735 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.6077, allocations: 29.72 kB / 0.7735 GB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6077, allocations: 7.938 kB / 0.7735 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6077, allocations: 4 kB / 0.7735 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6078, allocations: 0.5625 kB / 0.7735 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.6089, allocations: 0.5913 MB / 0.7741 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.609, allocations: 0 / 0.7741 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.6094, allocations: 48.12 kB / 0.7741 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.6094, allocations: 4 kB / 0.7741 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.6094, allocations: 6.938 kB / 0.7741 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.6094, allocations: 3.953 kB / 0.7741 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.6094, allocations: 7.938 kB / 0.7741 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.6104, allocations: 410.8 kB / 0.7745 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6106, allocations: 115.8 kB / 0.7746 GB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.6107, allocations: 6.875 kB / 0.7747 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.6111, allocations: 19.98 kB / 0.7747 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.6112, allocations: 22.94 kB / 0.7747 GB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.6112, allocations: 11.11 kB / 0.7747 GB, free: 5.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003605/0.6116, allocations: 226.8 kB / 0.7749 GB, free: 5.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6116, allocations: 0 / 0.7749 GB, free: 5.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005907/0.6122, allocations: 67.34 kB / 0.775 GB, free: 5.715 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * 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.000168/0.6124, allocations: 103 kB / 0.7751 GB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009888/0.6134, allocations: 219.4 kB / 0.7753 GB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6134, allocations: 0 / 0.7753 GB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.6139, allocations: 97.94 kB / 0.7754 GB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.6145, allocations: 26.88 kB / 0.7754 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.6161, allocations: 0.6561 MB / 0.7761 GB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.6166, allocations: 0.7838 MB / 0.7768 GB, free: 3.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.6169, allocations: 26.2 kB / 0.7768 GB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.617, allocations: 19.44 kB / 0.7769 GB, free: 3.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.617, allocations: 0 / 0.7769 GB, free: 3.82 MB / 362.7 MB Notification: Performance of Templates: time 0.007921/0.625, allocations: 1.661 MB / 0.7785 GB, free: 2.172 MB / 362.7 MB