Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 172 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.04041/0.04041, allocations: 8.775 MB / 25.64 MB, free: 3.812 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000854/0.000854, allocations: 90.3 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004558, allocations: 16 kB / 344.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2672, allocations: 49.7 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4034, allocations: 78.96 MB / 473.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.4038, allocations: 71.97 kB / 473.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.4145, allocations: 2.76 MB / 476.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.539e-06/0.4146, allocations: 0 / 476.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.4146, allocations: 4 kB / 476.3 MB, free: 2.867 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008367/0.4155, allocations: 430.9 kB / 476.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4156, allocations: 12.03 kB / 476.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.4157, allocations: 16.75 kB / 476.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.416, allocations: 220 kB / 477 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4161, allocations: 8.375 kB / 477 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.4161, allocations: 16.38 kB / 477 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.4166, allocations: 165.2 kB / 477.1 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4166, allocations: 8.109 kB / 477.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.4167, allocations: 11.94 kB / 477.2 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4167, allocations: 0 / 477.2 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.417, allocations: 96.78 kB / 477.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4186, allocations: 0.7419 MB / 478 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.4188, allocations: 74.55 kB / 478.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.419, allocations: 44.84 kB / 478.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.419, allocations: 0 / 478.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.419, allocations: 30.56 kB / 478.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.419, allocations: 4.219 kB / 478.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004306/0.4195, allocations: 109.7 kB / 478.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4196, allocations: 63.28 kB / 478.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.4198, allocations: 158.3 kB / 478.5 MB, free: 468 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4198, allocations: 25.7 kB / 478.5 MB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4199, allocations: 139.5 kB / 478.6 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.42, allocations: 27.64 kB / 478.7 MB, free: 264 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.42, allocations: 0 / 478.7 MB, free: 264 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4202, allocations: 330.8 kB / 479 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.4203, allocations: 31.98 kB / 479 MB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4205, allocations: 56.28 kB / 479.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.4207, allocations: 92.22 kB / 479.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4207, allocations: 0 / 479.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000366/0.4211, allocations: 137.4 kB / 479.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.4211, allocations: 4 kB / 479.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.4212, allocations: 4.125 kB / 479.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4212, allocations: 4 kB / 479.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.4214, allocations: 27.98 kB / 479.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4214, allocations: 4 kB / 479.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.4216, allocations: 11.84 kB / 479.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.4216, allocations: 7.938 kB / 479.4 MB, free: 15.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001449/0.4217, allocations: 129.8 kB / 479.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.4218, allocations: 7.906 kB / 479.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.4219, allocations: 24.7 kB / 479.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4219, allocations: 0 / 479.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4219, allocations: 0 / 479.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4219, allocations: 0 / 479.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.4223, allocations: 221.5 kB / 479.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4223, allocations: 8.094 kB / 479.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.4225, allocations: 19.92 kB / 479.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4225, allocations: 0 / 479.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.4225, allocations: 4 kB / 479.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4225, allocations: 0 / 479.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4225, allocations: 4 kB / 479.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.4229, allocations: 223.6 kB / 480 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.423, allocations: 85.05 kB / 480.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4231, allocations: 0 / 480.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.4232, allocations: 16.05 kB / 480.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4233, allocations: 3.938 kB / 480.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4233, allocations: 8 kB / 480.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.4234, allocations: 115.2 kB / 480.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4235, allocations: 0 / 480.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.424, allocations: 39.84 kB / 480.2 MB, free: 14.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.0001392/0.4241, allocations: 91.25 kB / 480.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.4244, allocations: 75.91 kB / 480.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4244, allocations: 0 / 480.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4245, allocations: 31.92 kB / 480.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.4251, allocations: 27.91 kB / 480.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4262, allocations: 457.6 kB / 480.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.4266, allocations: 0.7197 MB / 481.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.896e-05/0.4267, allocations: 8.875 kB / 481.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.4268, allocations: 15.44 kB / 481.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4268, allocations: 0 / 481.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Templates: time 0.004582/0.4314, allocations: 0.8766 MB / 482.5 MB, free: 12.18 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)