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.001078/0.001077, allocations: 108 kB / 15.61 MB, free: 152 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.2 MB, free: 4.586 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.001393/0.001393, allocations: 195.7 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03486/0.03486, allocations: 8.795 MB / 348.5 MB, free: 4.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 82.34 kB / 411.2 MB, free: 42.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.08195, allocations: 51.57 MB / 462.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004354/0.08635, allocations: 2.19 MB / 464.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.08789, allocations: 498.7 kB / 465.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.08827, allocations: 4 kB / 465.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.08862, allocations: 27.72 kB / 465.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.08888, allocations: 39.64 kB / 465.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.08924, allocations: 43.94 kB / 465.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.08971, allocations: 171.3 kB / 465.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.09003, allocations: 66.09 kB / 465.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.0902, allocations: 59.78 kB / 465.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.0904, allocations: 67.7 kB / 465.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.09048, allocations: 15.94 kB / 465.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.09054, allocations: 16 kB / 465.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.09061, allocations: 39.83 kB / 466 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.09072, allocations: 75.61 kB / 466 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.09099, allocations: 163.6 kB / 466.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.091, allocations: 0 / 466.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.09101, allocations: 4 kB / 466.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.09103, allocations: 4 kB / 466.2 MB, free: 10.77 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.0007493/0.09179, allocations: 457.4 kB / 466.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.09184, allocations: 8.031 kB / 466.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.0919, allocations: 50.73 kB / 466.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.09196, allocations: 20.66 kB / 466.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.09222, allocations: 218.4 kB / 466.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.09224, allocations: 12.38 kB / 467 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.09229, allocations: 20.36 kB / 467 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.09261, allocations: 164.8 kB / 467.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.09264, allocations: 0 / 467.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.09267, allocations: 8 kB / 467.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.09268, allocations: 4 kB / 467.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.0929, allocations: 88.8 kB / 467.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.0943, allocations: 0.7418 MB / 468 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.09457, allocations: 74.55 kB / 468 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.09467, allocations: 36.84 kB / 468.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.0947, allocations: 4 kB / 468.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.09475, allocations: 34.56 kB / 468.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.09476, allocations: 0 / 468.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.00037/0.09514, allocations: 101.5 kB / 468.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.09521, allocations: 55.41 kB / 468.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.0955, allocations: 156.9 kB / 468.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.09552, allocations: 25.7 kB / 468.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.09564, allocations: 143.7 kB / 468.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.09567, allocations: 27.64 kB / 468.6 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.09574, allocations: 29.66 kB / 468.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.09594, allocations: 322.8 kB / 469 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.09607, allocations: 23.98 kB / 469 MB, free: 7.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.09616, allocations: 64.27 kB / 469.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.09632, allocations: 96.16 kB / 469.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.09633, allocations: 0 / 469.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002625/0.0966, allocations: 129.4 kB / 469.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.09662, allocations: 11.94 kB / 469.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.09664, allocations: 0 / 469.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.09666, allocations: 7.984 kB / 469.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.0968, allocations: 23.98 kB / 469.3 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.09682, allocations: 3.938 kB / 469.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.09689, allocations: 11.98 kB / 469.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.09691, allocations: 4 kB / 469.3 MB, free: 7.348 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.0001157/0.09703, allocations: 142.4 kB / 469.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.09707, allocations: 11.81 kB / 469.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.09711, allocations: 12.72 kB / 469.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.09712, allocations: 0 / 469.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.09713, allocations: 3.938 kB / 469.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.09714, allocations: 0 / 469.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.09738, allocations: 221.6 kB / 469.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.09739, allocations: 0 / 469.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.0975, allocations: 16 kB / 469.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.09751, allocations: 0 / 469.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.09754, allocations: 11.98 kB / 469.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.09754, allocations: 4 kB / 469.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.09755, allocations: 4.031 kB / 469.8 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.09786, allocations: 211.6 kB / 470 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.09796, allocations: 93.03 kB / 470.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.09799, allocations: 0 / 470.1 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.09809, allocations: 4 kB / 470.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.09814, allocations: 15.98 kB / 470.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.09815, allocations: 0 / 470.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.605e-05/0.09824, allocations: 118.1 kB / 470.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09824, allocations: 0 / 470.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.09851, allocations: 35.84 kB / 470.2 MB, free: 6.371 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 0.0006993/0.09922, allocations: 0.7396 MB / 471 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.09944, allocations: 71.91 kB / 471 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.09946, allocations: 4 kB / 471 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.09953, allocations: 27.92 kB / 471.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.09995, allocations: 24.66 kB / 471.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1022, allocations: 1.789 MB / 472.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1026, allocations: 0.7157 MB / 473.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.1027, allocations: 12.88 kB / 473.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.1027, allocations: 39.42 kB / 473.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1027, allocations: 0 / 473.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.1232, allocations: 2.512 MB / 476.2 MB, free: 340 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.615, allocations: 8.812 kB / 476.2 MB, free: 332 kB / 302.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)