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.006263/0.006263, allocations: 100.9 kB / 15.73 MB, free: 6.047 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.407/1.407, allocations: 222.9 MB / 239.4 MB, free: 4.574 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.001271/0.001271, allocations: 195.4 kB / 289.7 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05202/0.05202, allocations: 8.796 MB / 348.6 MB, free: 4.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.00157, allocations: 79.88 kB / 463.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1191, allocations: 51.56 MB / 0.5034 GB, free: 9.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004149/0.1233, allocations: 2.2 MB / 0.5055 GB, free: 7.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1247, allocations: 498.7 kB / 0.506 GB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1249, allocations: 4 kB / 0.506 GB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.1252, allocations: 27.72 kB / 0.506 GB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1254, allocations: 43.62 kB / 0.5061 GB, free: 6.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1256, allocations: 39.95 kB / 0.5061 GB, free: 6.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1259, allocations: 171.3 kB / 0.5063 GB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1261, allocations: 66.08 kB / 0.5063 GB, free: 6.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.1262, allocations: 59.78 kB / 0.5064 GB, free: 6.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1264, allocations: 71.58 kB / 0.5065 GB, free: 6.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.1264, allocations: 16 kB / 0.5065 GB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.611e-05/0.1264, allocations: 12 kB / 0.5065 GB, free: 6.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.1265, allocations: 39.91 kB / 0.5065 GB, free: 6.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.1266, allocations: 75.61 kB / 0.5066 GB, free: 6.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1268, allocations: 167.3 kB / 0.5068 GB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1268, allocations: 0 / 0.5068 GB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1268, allocations: 4 kB / 0.5068 GB, free: 6.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1269, allocations: 0 / 0.5068 GB, free: 6.086 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.000708/0.1276, allocations: 451 kB / 0.5072 GB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1276, allocations: 12.03 kB / 0.5072 GB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1277, allocations: 16.75 kB / 0.5072 GB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.128, allocations: 221.5 kB / 0.5074 GB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.128, allocations: 12.38 kB / 0.5074 GB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.128, allocations: 16.31 kB / 0.5075 GB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1283, allocations: 168.9 kB / 0.5076 GB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1283, allocations: 4 kB / 0.5076 GB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.1284, allocations: 15.94 kB / 0.5076 GB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1284, allocations: 4 kB / 0.5076 GB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.1286, allocations: 88.73 kB / 0.5077 GB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.1295, allocations: 0.7263 MB / 0.5084 GB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1297, allocations: 70.62 kB / 0.5085 GB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.1298, allocations: 32.84 kB / 0.5085 GB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.1298, allocations: 4 kB / 0.5085 GB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1298, allocations: 42.64 kB / 0.5086 GB, free: 4.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 5.059e-06/0.1299, allocations: 0 / 0.5086 GB, free: 4.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003007/0.1302, allocations: 109.5 kB / 0.5087 GB, free: 3.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.1303, allocations: 51.41 kB / 0.5087 GB, free: 3.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1305, allocations: 165.1 kB / 0.5089 GB, free: 3.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.1306, allocations: 25.7 kB / 0.5089 GB, free: 3.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.1307, allocations: 131.6 kB / 0.509 GB, free: 3.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.1307, allocations: 31.56 kB / 0.5091 GB, free: 3.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.1308, allocations: 33.7 kB / 0.5091 GB, free: 3.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1309, allocations: 318.8 kB / 0.5094 GB, free: 3.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.131, allocations: 27.98 kB / 0.5094 GB, free: 3.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.895e-05/0.1311, allocations: 68.09 kB / 0.5095 GB, free: 3.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1313, allocations: 88.22 kB / 0.5096 GB, free: 2.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1313, allocations: 0 / 0.5096 GB, free: 2.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002294/0.1315, allocations: 129.5 kB / 0.5097 GB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1316, allocations: 8.031 kB / 0.5097 GB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.1316, allocations: 4 kB / 0.5097 GB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1316, allocations: 0 / 0.5097 GB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1318, allocations: 31.92 kB / 0.5097 GB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1318, allocations: 4.094 kB / 0.5098 GB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.1318, allocations: 15.78 kB / 0.5098 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1319, allocations: 4 kB / 0.5098 GB, free: 2.723 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.000121/0.132, allocations: 129.7 kB / 0.5099 GB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.132, allocations: 11.91 kB / 0.5099 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.1321, allocations: 16.7 kB / 0.5099 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1321, allocations: 4 kB / 0.5099 GB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1321, allocations: 0 / 0.5099 GB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.1321, allocations: 11.92 kB / 0.5099 GB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1324, allocations: 221.5 kB / 0.5101 GB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1324, allocations: 0 / 0.5101 GB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1325, allocations: 23.92 kB / 0.5102 GB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1325, allocations: 0 / 0.5102 GB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1325, allocations: 0 / 0.5102 GB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1325, allocations: 0 / 0.5102 GB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1325, allocations: 8 kB / 0.5102 GB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1328, allocations: 207.7 kB / 0.5104 GB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1329, allocations: 81.02 kB / 0.5105 GB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1329, allocations: 4.031 kB / 0.5105 GB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.133, allocations: 11.92 kB / 0.5105 GB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.133, allocations: 4 kB / 0.5105 GB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.1331, allocations: 12 kB / 0.5105 GB, free: 1.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.1332, allocations: 112.1 kB / 0.5106 GB, free: 1.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1332, allocations: 3.938 kB / 0.5106 GB, free: 1.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000313/0.1335, allocations: 35.84 kB / 0.5106 GB, free: 1.746 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 9.098e-05/0.1336, allocations: 91.25 kB / 0.5107 GB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1338, allocations: 75.97 kB / 0.5108 GB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1338, allocations: 4.25 kB / 0.5108 GB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.1339, allocations: 31.97 kB / 0.5108 GB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.1342, allocations: 25.75 kB / 0.5108 GB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.135, allocations: 349.3 kB / 0.5112 GB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1353, allocations: 0.7158 MB / 0.5119 GB, free: 416 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.1354, allocations: 9.078 kB / 0.5119 GB, free: 400 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1354, allocations: 15.44 kB / 0.5119 GB, free: 384 kB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1354, allocations: 3.938 kB / 0.5119 GB, free: 380 kB / 350.1 MB Notification: Performance of Templates: time 0.004083/0.1395, allocations: 0.9809 MB / 0.5129 GB, free: 15.4 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)