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.001746/0.001746, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.123/2.123, allocations: 222.9 MB / 239.5 MB, free: 4.762 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.002087/0.002087, allocations: 192.3 kB / 289.8 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05321/0.05321, allocations: 8.803 MB / 348.7 MB, free: 4.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 75.72 kB / 411 MB, free: 42.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1222, allocations: 51.57 MB / 462.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.005405/0.1277, allocations: 2.236 MB / 464.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.129, allocations: 0.4909 MB / 465.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.1293, allocations: 4 kB / 465.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1295, allocations: 23.84 kB / 465.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1297, allocations: 31.7 kB / 465.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.13, allocations: 43.91 kB / 465.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1304, allocations: 159.3 kB / 465.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1306, allocations: 55.55 kB / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1308, allocations: 59.78 kB / 465.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1309, allocations: 63.7 kB / 465.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.131, allocations: 8 kB / 465.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.397e-05/0.131, allocations: 12 kB / 465.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1311, allocations: 31.84 kB / 465.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1312, allocations: 67.61 kB / 465.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.1314, allocations: 127.9 kB / 466 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1315, allocations: 0 / 466 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1315, allocations: 4 kB / 466 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1315, allocations: 0 / 466 MB, free: 11.54 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.0009286/0.1324, allocations: 462.8 kB / 466.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1325, allocations: 8.031 kB / 466.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.1326, allocations: 20.66 kB / 466.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.133, allocations: 216 kB / 466.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.133, allocations: 8.375 kB / 466.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.1331, allocations: 20.38 kB / 466.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1335, allocations: 165.1 kB / 466.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1335, allocations: 3.984 kB / 466.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1336, allocations: 8 kB / 466.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1336, allocations: 0 / 466.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.1339, allocations: 92.73 kB / 467 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.1353, allocations: 0.7341 MB / 467.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.1355, allocations: 70.56 kB / 467.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1357, allocations: 36.84 kB / 467.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.1357, allocations: 0 / 467.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.1357, allocations: 34.56 kB / 467.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1357, allocations: 4 kB / 467.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004121/0.1362, allocations: 109.6 kB / 468 MB, free: 9.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1362, allocations: 55.34 kB / 468 MB, free: 9.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1364, allocations: 160.8 kB / 468.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1365, allocations: 25.7 kB / 468.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1366, allocations: 143.5 kB / 468.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1366, allocations: 27.59 kB / 468.4 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.1367, allocations: 29.7 kB / 468.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1369, allocations: 322.8 kB / 468.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.137, allocations: 27.98 kB / 468.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1372, allocations: 56.28 kB / 468.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.1374, allocations: 96.16 kB / 468.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1374, allocations: 0 / 468.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003328/0.1377, allocations: 133.3 kB / 469 MB, free: 8.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.1378, allocations: 8 kB / 469.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1378, allocations: 0 / 469.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1378, allocations: 4.125 kB / 469.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.1381, allocations: 31.92 kB / 469.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1381, allocations: 0 / 469.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1382, allocations: 7.938 kB / 469.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1382, allocations: 4 kB / 469.1 MB, free: 8.18 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.0001531/0.1384, allocations: 125.8 kB / 469.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.1384, allocations: 11.81 kB / 469.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1385, allocations: 24.64 kB / 469.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1385, allocations: 7.984 kB / 469.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1385, allocations: 0 / 469.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1385, allocations: 3.938 kB / 469.3 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.1389, allocations: 225.5 kB / 469.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1389, allocations: 0 / 469.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.139, allocations: 15.98 kB / 469.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1391, allocations: 0 / 469.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1391, allocations: 0 / 469.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1391, allocations: 4 kB / 469.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1391, allocations: 0 / 469.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.1395, allocations: 215.3 kB / 469.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.1396, allocations: 88.98 kB / 469.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1396, allocations: 96 / 469.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1398, allocations: 11.92 kB / 469.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.1398, allocations: 15.88 kB / 469.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1399, allocations: 0 / 469.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.14, allocations: 119.4 kB / 470 MB, free: 7.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.14, allocations: 4 kB / 470 MB, free: 7.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.1404, allocations: 31.84 kB / 470 MB, free: 7.203 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.0001237/0.1406, allocations: 95.25 kB / 470.1 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.1409, allocations: 67.91 kB / 470.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1409, allocations: 0 / 470.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.141, allocations: 27.92 kB / 470.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.1415, allocations: 30.06 kB / 470.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1426, allocations: 441 kB / 470.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.143, allocations: 0.7158 MB / 471.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.1431, allocations: 15.44 kB / 471.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1431, allocations: 3.938 kB / 471.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of Templates: time 0.004831/0.1479, allocations: 1.501 MB / 472.9 MB, free: 4.262 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)