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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 115 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 192.5 kB / 290.3 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03697/0.03697, allocations: 8.786 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 78.05 kB / 412.5 MB, free: 41.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1148, allocations: 51.56 MB / 464.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004282/0.1192, allocations: 2.196 MB / 466.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.1201, allocations: 498.7 kB / 466.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1202, allocations: 7.938 kB / 466.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1204, allocations: 27.72 kB / 466.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.1205, allocations: 35.7 kB / 466.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1207, allocations: 51.88 kB / 466.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.1209, allocations: 163.4 kB / 467.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1211, allocations: 66.08 kB / 467.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.1212, allocations: 59.78 kB / 467.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1213, allocations: 75.62 kB / 467.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1213, allocations: 12 kB / 467.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/0.1214, allocations: 16 kB / 467.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.1214, allocations: 31.92 kB / 467.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.1215, allocations: 79.53 kB / 467.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1217, allocations: 167.3 kB / 467.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1217, allocations: 0 / 467.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1217, allocations: 4 kB / 467.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1218, allocations: 0 / 467.6 MB, free: 10.09 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006448/0.1224, allocations: 454.8 kB / 468 MB, free: 9.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1225, allocations: 8.031 kB / 468 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1225, allocations: 20.66 kB / 468 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1228, allocations: 224 kB / 468.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1228, allocations: 12.38 kB / 468.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.1229, allocations: 12.38 kB / 468.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1232, allocations: 169 kB / 468.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1232, allocations: 0 / 468.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1232, allocations: 8 kB / 468.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.1232, allocations: 4 kB / 468.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.1234, allocations: 84.8 kB / 468.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.1244, allocations: 0.7302 MB / 469.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1246, allocations: 82.55 kB / 469.3 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.1247, allocations: 36.78 kB / 469.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1247, allocations: 0 / 469.4 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1247, allocations: 30.56 kB / 469.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1247, allocations: 0 / 469.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002999/0.1251, allocations: 121.5 kB / 469.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1251, allocations: 55.41 kB / 469.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1253, allocations: 161.8 kB / 469.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1253, allocations: 29.7 kB / 469.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.1254, allocations: 135.5 kB / 469.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1254, allocations: 27.64 kB / 469.9 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.1255, allocations: 29.7 kB / 470 MB, free: 7.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1256, allocations: 318.8 kB / 470.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.1257, allocations: 27.98 kB / 470.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.1258, allocations: 68.27 kB / 470.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1259, allocations: 88.22 kB / 470.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1259, allocations: 7.938 kB / 470.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002101/0.1262, allocations: 125.4 kB / 470.6 MB, free: 6.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1262, allocations: 8 kB / 470.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1262, allocations: 3.984 kB / 470.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1262, allocations: 7.984 kB / 470.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1264, allocations: 20.12 kB / 470.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1264, allocations: 4 kB / 470.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.1264, allocations: 19.92 kB / 470.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1265, allocations: 4 kB / 470.6 MB, free: 6.719 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.1266, allocations: 133.7 kB / 470.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1266, allocations: 11.81 kB / 470.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.1267, allocations: 12.72 kB / 470.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1267, allocations: 0 / 470.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1267, allocations: 0 / 470.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1267, allocations: 7.922 kB / 470.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.1269, allocations: 225.6 kB / 471 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1269, allocations: 3.938 kB / 471 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.127, allocations: 19.98 kB / 471 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.127, allocations: 0 / 471 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.127, allocations: 4 kB / 471.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.127, allocations: 0 / 471.1 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1271, allocations: 3.938 kB / 471.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1273, allocations: 215.3 kB / 471.3 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1274, allocations: 89.05 kB / 471.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1274, allocations: 0 / 471.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.1275, allocations: 4 kB / 471.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.1276, allocations: 11.92 kB / 471.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1276, allocations: 0 / 471.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1277, allocations: 115.2 kB / 471.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1277, allocations: 0 / 471.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000259/0.128, allocations: 35.91 kB / 471.5 MB, free: 5.75 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.1281, allocations: 103.2 kB / 471.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1283, allocations: 71.84 kB / 471.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1283, allocations: 0 / 471.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.1284, allocations: 23.98 kB / 471.7 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1287, allocations: 21.58 kB / 471.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.1294, allocations: 365.4 kB / 472.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1297, allocations: 0.7119 MB / 472.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.1298, allocations: 12.88 kB / 472.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1298, allocations: 11.44 kB / 472.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1298, allocations: 4 kB / 472.8 MB, free: 4.375 MB / 302.1 MB Notification: Performance of Templates: time 0.003662/0.1335, allocations: 0.9656 MB / 473.8 MB, free: 3.422 MB / 302.1 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)