Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.conf.json 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/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004674/0.004674, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03668/0.03668, allocations: 8.801 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.2 MB / 250.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008792, allocations: 111.5 kB / 304 MB, free: 3.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 367.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 52.54 MB / 419.6 MB, free: 48.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08625/0.3111, allocations: 76.16 MB / 495.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.3113, allocations: 59.97 kB / 495.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008073/0.3122, allocations: 458.1 kB / 496.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3122, allocations: 0 / 496.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3122, allocations: 0 / 496.3 MB, free: 12.45 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002428/0.3124, allocations: 334.5 kB / 496.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3125, allocations: 8.562 kB / 496.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.3125, allocations: 7.859 kB / 496.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3126, allocations: 167.1 kB / 496.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3126, allocations: 0 / 496.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.3127, allocations: 0 / 496.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.3128, allocations: 37.69 kB / 496.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.3128, allocations: 1.031 kB / 496.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3128, allocations: 0 / 496.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3128, allocations: 0 / 496.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.3128, allocations: 13.08 kB / 496.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.313, allocations: 157.7 kB / 497 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.316e-05/0.313, allocations: 43.58 kB / 497 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3131, allocations: 0.6562 kB / 497 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.3131, allocations: 32.78 kB / 497.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3131, allocations: 0 / 497.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001204/0.3132, allocations: 49.72 kB / 497.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.3133, allocations: 55.41 kB / 497.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.3133, allocations: 92.98 kB / 497.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3133, allocations: 26.48 kB / 497.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.3134, allocations: 84.83 kB / 497.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3134, allocations: 11.75 kB / 497.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.3134, allocations: 4.594 kB / 497.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.3135, allocations: 318.2 kB / 497.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.3135, allocations: 4 kB / 497.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.3135, allocations: 7.984 kB / 497.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.3136, allocations: 8 kB / 497.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3136, allocations: 3.938 kB / 497.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.608e-05/0.3136, allocations: 50.09 kB / 497.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3137, allocations: 4.781 kB / 497.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3137, allocations: 4 kB / 497.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3137, allocations: 2.562 kB / 497.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.3138, allocations: 11.94 kB / 497.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3138, allocations: 0 / 497.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.3138, allocations: 3.281 kB / 497.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.3138, allocations: 48 / 497.8 MB, free: 10.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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 6.012e-05/0.3139, allocations: 121.8 kB / 497.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.3139, allocations: 3.984 kB / 497.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.3139, allocations: 7.484 kB / 497.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.3139, allocations: 0 / 497.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3139, allocations: 0 / 497.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3139, allocations: 0 / 497.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.145e-05/0.314, allocations: 161.6 kB / 498.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.314, allocations: 0 / 498.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.3141, allocations: 4 kB / 498.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3141, allocations: 4 kB / 498.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3141, allocations: 0 / 498.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3141, allocations: 8 kB / 498.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3141, allocations: 0 / 498.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.3143, allocations: 88.91 kB / 498.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.3143, allocations: 77.11 kB / 498.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.3143, allocations: 0 / 498.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.3144, allocations: 8.031 kB / 498.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3144, allocations: 0 / 498.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3144, allocations: 0 / 498.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.3144, allocations: 83.34 kB / 498.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3144, allocations: 0 / 498.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.3146, allocations: 4 kB / 498.3 MB, free: 10.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 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 (3): * Single equations (assignments): 3 * 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 8.292e-05/0.3147, allocations: 99.22 kB / 498.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.791e-05/0.3148, allocations: 16 kB / 498.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3148, allocations: 3.938 kB / 498.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.3148, allocations: 7.984 kB / 498.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.214e-05/0.3149, allocations: 11.95 kB / 498.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.3152, allocations: 209.2 kB / 498.7 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3154, allocations: 0.6809 MB / 499.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.3154, allocations: 3.984 kB / 499.4 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.3155, allocations: 11.44 kB / 499.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3155, allocations: 0 / 499.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of Templates: time 0.001594/0.3171, allocations: 240.7 kB / 499.6 MB, free: 8.762 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)