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.0009455/0.0009456, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.349/1.349, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001263/0.001263, allocations: 172.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03348/0.03348, allocations: 8.803 MB / 350.5 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005903, allocations: 9.953 kB / 413.8 MB, free: 42.86 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1099, allocations: 52.56 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002947/0.1129, allocations: 1.896 MB / 468.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1141, allocations: 498.8 kB / 468.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.1144, allocations: 4 kB / 468.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.1146, allocations: 19.84 kB / 468.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1148, allocations: 31.7 kB / 468.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1151, allocations: 31.97 kB / 468.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1154, allocations: 163.3 kB / 469 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1156, allocations: 53.75 kB / 469 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1158, allocations: 55.78 kB / 469.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1159, allocations: 59.64 kB / 469.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1159, allocations: 8 kB / 469.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.116, allocations: 11.94 kB / 469.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.116, allocations: 19.92 kB / 469.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1162, allocations: 97.25 kB / 469.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1164, allocations: 155.4 kB / 469.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1165, allocations: 0 / 469.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1165, allocations: 0 / 469.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1165, allocations: 0 / 469.4 MB, free: 10.03 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.0006645/0.1172, allocations: 438.8 kB / 469.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.34e-05/0.1173, allocations: 15.97 kB / 469.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.1173, allocations: 16.75 kB / 469.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1176, allocations: 208.1 kB / 470.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1176, allocations: 12.38 kB / 470.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1177, allocations: 16.28 kB / 470.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.118, allocations: 169.1 kB / 470.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.118, allocations: 3.938 kB / 470.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.118, allocations: 8 kB / 470.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1181, allocations: 4 kB / 470.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.1183, allocations: 92.8 kB / 470.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1193, allocations: 0.7458 MB / 471.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1195, allocations: 78.55 kB / 471.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.1196, allocations: 36.84 kB / 471.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1196, allocations: 0 / 471.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1197, allocations: 38.56 kB / 471.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1197, allocations: 0 / 471.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003069/0.12, allocations: 113.9 kB / 471.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.12, allocations: 55.39 kB / 471.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1202, allocations: 157.3 kB / 471.6 MB, free: 7.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1202, allocations: 25.7 kB / 471.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1203, allocations: 143.5 kB / 471.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.1204, allocations: 23.64 kB / 471.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1204, allocations: 17.72 kB / 471.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1206, allocations: 322.8 kB / 472.1 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.1207, allocations: 27.98 kB / 472.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1208, allocations: 68.27 kB / 472.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.121, allocations: 96.16 kB / 472.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.121, allocations: 0 / 472.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.1213, allocations: 137.4 kB / 472.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1213, allocations: 10.28 kB / 472.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1214, allocations: 0 / 472.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1214, allocations: 4 kB / 472.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1215, allocations: 23.98 kB / 472.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1215, allocations: 4 kB / 472.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.156e-05/0.1216, allocations: 20 kB / 472.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1216, allocations: 7.984 kB / 472.5 MB, free: 6.656 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.0001021/0.1217, allocations: 133.7 kB / 472.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1218, allocations: 11.81 kB / 472.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.1218, allocations: 12.72 kB / 472.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1218, allocations: 0 / 472.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1218, allocations: 0 / 472.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1218, allocations: 3.938 kB / 472.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1221, allocations: 225.6 kB / 472.9 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1221, allocations: 8 kB / 472.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.1222, allocations: 12 kB / 472.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1222, allocations: 0 / 472.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1222, allocations: 8 kB / 472.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1222, allocations: 3.984 kB / 472.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1222, allocations: 0 / 472.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1225, allocations: 211.3 kB / 473.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1226, allocations: 96.94 kB / 473.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1226, allocations: 0 / 473.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.1227, allocations: 8 kB / 473.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.1227, allocations: 7.922 kB / 473.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1227, allocations: 4 kB / 473.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.272e-05/0.1228, allocations: 113.5 kB / 473.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 4.156 kB / 473.4 MB, free: 5.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1231, allocations: 39.86 kB / 473.4 MB, free: 5.68 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 8.961e-05/0.1232, allocations: 91.25 kB / 473.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1234, allocations: 71.91 kB / 473.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1234, allocations: 0 / 473.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.43e-05/0.1235, allocations: 36.17 kB / 473.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1238, allocations: 19.8 kB / 473.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.1246, allocations: 481.3 kB / 474.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.125, allocations: 0.7119 MB / 474.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1251, allocations: 8.875 kB / 474.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.1251, allocations: 15.44 kB / 474.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1251, allocations: 0 / 474.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of Templates: time 0.003325/0.1284, allocations: 0.8949 MB / 475.7 MB, free: 3.309 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: