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.00123/0.00123, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.469/1.469, allocations: 222.9 MB / 240.1 MB, free: 4.395 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.002196/0.002196, allocations: 192.1 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03407/0.03407, allocations: 8.802 MB / 349.3 MB, free: 4.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 79.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 51.56 MB / 0.504 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004315/0.1209, allocations: 2.205 MB / 0.5062 GB, free: 7.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1222, allocations: 0.4948 MB / 0.5067 GB, free: 6.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.1224, allocations: 4 kB / 0.5067 GB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1226, allocations: 27.72 kB / 0.5067 GB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1228, allocations: 35.64 kB / 0.5067 GB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1231, allocations: 43.95 kB / 0.5068 GB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.1234, allocations: 167.3 kB / 0.5069 GB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.1236, allocations: 70.06 kB / 0.507 GB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1237, allocations: 59.73 kB / 0.5071 GB, free: 6.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1239, allocations: 75.62 kB / 0.5071 GB, free: 6.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.1239, allocations: 16 kB / 0.5072 GB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.42e-05/0.124, allocations: 16 kB / 0.5072 GB, free: 6.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.124, allocations: 27.92 kB / 0.5072 GB, free: 6.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.1241, allocations: 75.61 kB / 0.5073 GB, free: 6.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1244, allocations: 167.3 kB / 0.5074 GB, free: 6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1244, allocations: 0 / 0.5074 GB, free: 6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1244, allocations: 0 / 0.5074 GB, free: 6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1244, allocations: 0 / 0.5074 GB, free: 6 MB / 350.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.0007975/0.1252, allocations: 461.3 kB / 0.5079 GB, free: 5.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1253, allocations: 12.03 kB / 0.5079 GB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.1254, allocations: 20.69 kB / 0.5079 GB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.1258, allocations: 212 kB / 0.5081 GB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1258, allocations: 16.31 kB / 0.5081 GB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.1258, allocations: 16.38 kB / 0.5081 GB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.1262, allocations: 172.9 kB / 0.5083 GB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1262, allocations: 3.938 kB / 0.5083 GB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1263, allocations: 8 kB / 0.5083 GB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1263, allocations: 0 / 0.5083 GB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.1265, allocations: 96.73 kB / 0.5084 GB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1276, allocations: 0.7263 MB / 0.5091 GB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1278, allocations: 70.61 kB / 0.5092 GB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.1279, allocations: 36.84 kB / 0.5092 GB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1279, allocations: 7.938 kB / 0.5092 GB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.128, allocations: 34.56 kB / 0.5093 GB, free: 3.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.128, allocations: 0 / 0.5093 GB, free: 3.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003255/0.1283, allocations: 97.72 kB / 0.5094 GB, free: 3.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1284, allocations: 55.41 kB / 0.5094 GB, free: 3.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1285, allocations: 164.7 kB / 0.5096 GB, free: 3.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1286, allocations: 33.64 kB / 0.5096 GB, free: 3.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1287, allocations: 135.6 kB / 0.5097 GB, free: 3.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1287, allocations: 31.55 kB / 0.5098 GB, free: 3.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.1288, allocations: 25.72 kB / 0.5098 GB, free: 3.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1289, allocations: 322.8 kB / 0.5101 GB, free: 3.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.129, allocations: 27.98 kB / 0.5101 GB, free: 3.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1291, allocations: 60.22 kB / 0.5102 GB, free: 2.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1293, allocations: 96.2 kB / 0.5103 GB, free: 2.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1293, allocations: 0 / 0.5103 GB, free: 2.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002587/0.1296, allocations: 129.5 kB / 0.5104 GB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1296, allocations: 4 kB / 0.5104 GB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1296, allocations: 3.984 kB / 0.5104 GB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1296, allocations: 4 kB / 0.5104 GB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1298, allocations: 32.02 kB / 0.5104 GB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1298, allocations: 3.938 kB / 0.5104 GB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.1299, allocations: 19.84 kB / 0.5104 GB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1299, allocations: 4 kB / 0.5105 GB, free: 2.621 MB / 350.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.0001406/0.13, allocations: 129.8 kB / 0.5106 GB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.1301, allocations: 11.89 kB / 0.5106 GB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1301, allocations: 12.72 kB / 0.5106 GB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1301, allocations: 0 / 0.5106 GB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1301, allocations: 0 / 0.5106 GB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1301, allocations: 7.938 kB / 0.5106 GB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1304, allocations: 221.5 kB / 0.5108 GB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1304, allocations: 0 / 0.5108 GB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1305, allocations: 23.92 kB / 0.5108 GB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1305, allocations: 0 / 0.5108 GB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1306, allocations: 4 kB / 0.5108 GB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1306, allocations: 0 / 0.5108 GB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1306, allocations: 0 / 0.5108 GB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.1309, allocations: 207.4 kB / 0.511 GB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.131, allocations: 85.05 kB / 0.5111 GB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.131, allocations: 3.984 kB / 0.5111 GB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1311, allocations: 8.062 kB / 0.5111 GB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1312, allocations: 11.94 kB / 0.5111 GB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1312, allocations: 0 / 0.5111 GB, free: 1.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.996e-05/0.1313, allocations: 127.1 kB / 0.5113 GB, free: 1.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 0.5113 GB, free: 1.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1315, allocations: 31.84 kB / 0.5113 GB, free: 1.656 MB / 350.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.0001156/0.1317, allocations: 95.25 kB / 0.5114 GB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1319, allocations: 72.42 kB / 0.5115 GB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1319, allocations: 0 / 0.5115 GB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.132, allocations: 27.98 kB / 0.5115 GB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1323, allocations: 23.61 kB / 0.5115 GB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/0.1331, allocations: 387.2 kB / 0.5119 GB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1335, allocations: 0.7121 MB / 0.5126 GB, free: 296 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.1336, allocations: 15.44 kB / 0.5126 GB, free: 280 kB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1336, allocations: 3.938 kB / 0.5126 GB, free: 276 kB / 350.1 MB Notification: Performance of Templates: time 0.004037/0.1376, allocations: 1.526 MB / 0.5141 GB, free: 14.75 MB / 366.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)