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: "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004901/0.0049, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.403/1.403, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001694/0.001694, allocations: 196.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03463/0.03463, allocations: 8.795 MB / 348.7 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 71.89 kB / 463.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 51.56 MB / 0.5029 GB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003592/0.1096, allocations: 2.197 MB / 0.505 GB, free: 7.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1107, allocations: 0.4909 MB / 0.5055 GB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1109, allocations: 4 kB / 0.5055 GB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1112, allocations: 23.73 kB / 0.5055 GB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1113, allocations: 39.62 kB / 0.5056 GB, free: 7.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1115, allocations: 47.95 kB / 0.5056 GB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1118, allocations: 175.3 kB / 0.5058 GB, free: 7.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.112, allocations: 54.39 kB / 0.5059 GB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1121, allocations: 71.72 kB / 0.5059 GB, free: 6.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1123, allocations: 71.64 kB / 0.506 GB, free: 6.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1123, allocations: 12 kB / 0.506 GB, free: 6.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.1123, allocations: 16 kB / 0.506 GB, free: 6.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1124, allocations: 35.89 kB / 0.506 GB, free: 6.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.1125, allocations: 71.61 kB / 0.5061 GB, free: 6.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1127, allocations: 167.3 kB / 0.5063 GB, free: 6.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1127, allocations: 4 kB / 0.5063 GB, free: 6.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1127, allocations: 0 / 0.5063 GB, free: 6.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1127, allocations: 0 / 0.5063 GB, free: 6.543 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.0006197/0.1134, allocations: 455 kB / 0.5067 GB, free: 6.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1134, allocations: 8.031 kB / 0.5067 GB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.1135, allocations: 54.67 kB / 0.5068 GB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.1135, allocations: 16.75 kB / 0.5068 GB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1138, allocations: 220 kB / 0.507 GB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1138, allocations: 12.38 kB / 0.507 GB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.1139, allocations: 16.38 kB / 0.507 GB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.1142, allocations: 168.8 kB / 0.5072 GB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1142, allocations: 3.984 kB / 0.5072 GB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.1142, allocations: 8 kB / 0.5072 GB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1143, allocations: 4 kB / 0.5072 GB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1144, allocations: 88.73 kB / 0.5073 GB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009753/0.1154, allocations: 0.7341 MB / 0.508 GB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1156, allocations: 74.61 kB / 0.5081 GB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/0.1157, allocations: 36.78 kB / 0.5081 GB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.1157, allocations: 0 / 0.5081 GB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1158, allocations: 42.56 kB / 0.5082 GB, free: 4.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1158, allocations: 0 / 0.5082 GB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002972/0.1161, allocations: 101.5 kB / 0.5082 GB, free: 4.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1162, allocations: 59.41 kB / 0.5083 GB, free: 4.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1163, allocations: 164.5 kB / 0.5085 GB, free: 4.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1163, allocations: 29.7 kB / 0.5085 GB, free: 4.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.1164, allocations: 135.7 kB / 0.5086 GB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1165, allocations: 27.64 kB / 0.5086 GB, free: 3.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1165, allocations: 29.7 kB / 0.5087 GB, free: 3.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1167, allocations: 322.8 kB / 0.509 GB, free: 3.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.1167, allocations: 31.92 kB / 0.509 GB, free: 3.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.1168, allocations: 56.28 kB / 0.5091 GB, free: 3.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.117, allocations: 96.22 kB / 0.5092 GB, free: 3.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.117, allocations: 0 / 0.5092 GB, free: 3.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000218/0.1172, allocations: 129.4 kB / 0.5093 GB, free: 3.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1172, allocations: 4 kB / 0.5093 GB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1172, allocations: 0 / 0.5093 GB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1173, allocations: 4 kB / 0.5093 GB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1174, allocations: 27.92 kB / 0.5093 GB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.1174, allocations: 3.938 kB / 0.5093 GB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.1175, allocations: 16.03 kB / 0.5093 GB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1175, allocations: 8 kB / 0.5093 GB, free: 3.109 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 9.879e-05/0.1176, allocations: 125.7 kB / 0.5095 GB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1177, allocations: 7.906 kB / 0.5095 GB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.1177, allocations: 16.7 kB / 0.5095 GB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1177, allocations: 0 / 0.5095 GB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1177, allocations: 3.938 kB / 0.5095 GB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1177, allocations: 7.938 kB / 0.5095 GB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.118, allocations: 217.5 kB / 0.5097 GB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.118, allocations: 4 kB / 0.5097 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1181, allocations: 20.08 kB / 0.5097 GB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1181, allocations: 3.938 kB / 0.5097 GB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1181, allocations: 0 / 0.5097 GB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1181, allocations: 0 / 0.5097 GB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1181, allocations: 3.938 kB / 0.5097 GB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.1184, allocations: 207.4 kB / 0.5099 GB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1185, allocations: 89.11 kB / 0.51 GB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1185, allocations: 0 / 0.51 GB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1186, allocations: 11.98 kB / 0.51 GB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1187, allocations: 11.88 kB / 0.51 GB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.1187, allocations: 3.938 kB / 0.51 GB, free: 2.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.1188, allocations: 119.2 kB / 0.5102 GB, free: 2.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 0 / 0.5102 GB, free: 2.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1191, allocations: 27.84 kB / 0.5102 GB, free: 2.148 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.0005225/0.1196, allocations: 0.744 MB / 0.5109 GB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1198, allocations: 71.84 kB / 0.511 GB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1198, allocations: 0 / 0.511 GB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/0.1198, allocations: 32.3 kB / 0.511 GB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.1202, allocations: 25.33 kB / 0.511 GB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.1221, allocations: 1.786 MB / 0.5128 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1224, allocations: 0.7119 MB / 0.5135 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.1224, allocations: 12.89 kB / 0.5135 GB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.1225, allocations: 39.61 kB / 0.5135 GB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1225, allocations: 3.938 kB / 0.5135 GB, free: 14.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.1423, allocations: 2.579 MB / 0.516 GB, free: 12.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.67, allocations: 15.06 kB / 0.5161 GB, free: 12.04 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)