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.001317/0.001317, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.00152/0.00152, allocations: 187.8 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03632/0.03632, allocations: 8.805 MB / 348.7 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 79.88 kB / 463.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1085, allocations: 51.56 MB / 0.5029 GB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003476/0.112, allocations: 2.202 MB / 0.505 GB, free: 7.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.1128, allocations: 498.7 kB / 0.5055 GB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.1129, allocations: 0 / 0.5055 GB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.1131, allocations: 31.72 kB / 0.5056 GB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/0.1132, allocations: 39.58 kB / 0.5056 GB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1133, allocations: 51.94 kB / 0.5056 GB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.1136, allocations: 159.4 kB / 0.5058 GB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.1137, allocations: 66.06 kB / 0.5059 GB, free: 7.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.1138, allocations: 59.8 kB / 0.5059 GB, free: 7.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1139, allocations: 75.56 kB / 0.506 GB, free: 6.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.114, allocations: 16 kB / 0.506 GB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.872e-05/0.114, allocations: 12 kB / 0.506 GB, free: 6.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.114, allocations: 27.92 kB / 0.506 GB, free: 6.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.211e-05/0.1141, allocations: 83.58 kB / 0.5061 GB, free: 6.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1144, allocations: 167.3 kB / 0.5063 GB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1144, allocations: 4 kB / 0.5063 GB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1144, allocations: 0 / 0.5063 GB, free: 6.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1144, allocations: 0 / 0.5063 GB, free: 6.676 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.0006454/0.115, allocations: 466.7 kB / 0.5067 GB, free: 6.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1151, allocations: 8.031 kB / 0.5067 GB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.1151, allocations: 54.67 kB / 0.5068 GB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1152, allocations: 20.84 kB / 0.5068 GB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1155, allocations: 212.1 kB / 0.507 GB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1155, allocations: 12.31 kB / 0.507 GB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1155, allocations: 16.38 kB / 0.507 GB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1159, allocations: 176.7 kB / 0.5072 GB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1159, allocations: 0 / 0.5072 GB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1159, allocations: 4 kB / 0.5072 GB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1159, allocations: 4 kB / 0.5072 GB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1161, allocations: 88.73 kB / 0.5073 GB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009184/0.117, allocations: 0.7459 MB / 0.508 GB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1172, allocations: 74.61 kB / 0.5081 GB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.1173, allocations: 32.84 kB / 0.5081 GB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1173, allocations: 7.875 kB / 0.5081 GB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1174, allocations: 30.56 kB / 0.5082 GB, free: 4.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1174, allocations: 0 / 0.5082 GB, free: 4.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002723/0.1176, allocations: 101.6 kB / 0.5083 GB, free: 4.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1177, allocations: 55.39 kB / 0.5083 GB, free: 4.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1178, allocations: 156.9 kB / 0.5085 GB, free: 4.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1179, allocations: 29.7 kB / 0.5085 GB, free: 4.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.1179, allocations: 135.8 kB / 0.5086 GB, free: 4.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.118, allocations: 31.89 kB / 0.5087 GB, free: 4.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.118, allocations: 25.72 kB / 0.5087 GB, free: 3.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1182, allocations: 326.8 kB / 0.509 GB, free: 3.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.1182, allocations: 23.98 kB / 0.509 GB, free: 3.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.1183, allocations: 68.2 kB / 0.5091 GB, free: 3.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1185, allocations: 92.2 kB / 0.5092 GB, free: 3.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1185, allocations: 8 kB / 0.5092 GB, free: 3.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002173/0.1187, allocations: 121.5 kB / 0.5093 GB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1187, allocations: 8.094 kB / 0.5093 GB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1188, allocations: 3.938 kB / 0.5093 GB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1188, allocations: 4 kB / 0.5093 GB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1189, allocations: 31.92 kB / 0.5093 GB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1189, allocations: 3.938 kB / 0.5093 GB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.119, allocations: 16.05 kB / 0.5094 GB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.119, allocations: 4 kB / 0.5094 GB, free: 3.23 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.0001012/0.1191, allocations: 129.7 kB / 0.5095 GB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1191, allocations: 11.91 kB / 0.5095 GB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.1192, allocations: 16.72 kB / 0.5095 GB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1192, allocations: 0 / 0.5095 GB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1192, allocations: 3.938 kB / 0.5095 GB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1192, allocations: 0 / 0.5095 GB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1194, allocations: 221.6 kB / 0.5097 GB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1195, allocations: 4 kB / 0.5097 GB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1196, allocations: 15.94 kB / 0.5097 GB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.1196, allocations: 7.984 kB / 0.5097 GB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1196, allocations: 4 kB / 0.5098 GB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1196, allocations: 3.984 kB / 0.5098 GB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1196, allocations: 3.938 kB / 0.5098 GB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1199, allocations: 207.4 kB / 0.51 GB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.12, allocations: 93.14 kB / 0.51 GB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.12, allocations: 0 / 0.51 GB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.1201, allocations: 4 kB / 0.51 GB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1201, allocations: 15.92 kB / 0.5101 GB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.1201, allocations: 3.938 kB / 0.5101 GB, free: 2.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.232e-05/0.1202, allocations: 111.2 kB / 0.5102 GB, free: 2.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1202, allocations: 0 / 0.5102 GB, free: 2.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1205, allocations: 35.89 kB / 0.5102 GB, free: 2.258 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.0005634/0.1211, allocations: 0.7363 MB / 0.5109 GB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1213, allocations: 67.91 kB / 0.511 GB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1213, allocations: 3.938 kB / 0.511 GB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.1213, allocations: 36.36 kB / 0.511 GB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1217, allocations: 25.31 kB / 0.5111 GB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1237, allocations: 1.79 MB / 0.5128 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.124, allocations: 0.7119 MB / 0.5135 GB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.1241, allocations: 16.88 kB / 0.5135 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.1242, allocations: 43.42 kB / 0.5136 GB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1242, allocations: 0 / 0.5136 GB, free: 14.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.1473, allocations: 2.554 MB / 0.516 GB, free: 12.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.83, allocations: 18.23 kB / 0.5161 GB, free: 12.17 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)