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.001082, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.325/1.325, 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.001001/0.001001, allocations: 180.5 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03263/0.03263, allocations: 8.816 MB / 350.5 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003481, allocations: 13.05 kB / 413.9 MB, free: 42.78 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09367, allocations: 52.57 MB / 466.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002577/0.09629, allocations: 1.889 MB / 468.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.09709, allocations: 490.8 kB / 468.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.0972, allocations: 4 kB / 468.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.09734, allocations: 19.84 kB / 468.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.09742, allocations: 31.7 kB / 468.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.09758, allocations: 43.97 kB / 469 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.09779, allocations: 155.3 kB / 469.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.09795, allocations: 61.45 kB / 469.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.09802, allocations: 47.8 kB / 469.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.138e-05/0.09812, allocations: 55.7 kB / 469.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.09815, allocations: 11.94 kB / 469.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.09818, allocations: 8 kB / 469.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.09821, allocations: 19.92 kB / 469.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.0983, allocations: 93.25 kB / 469.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.09847, allocations: 151.4 kB / 469.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.09848, allocations: 4 kB / 469.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.09849, allocations: 0 / 469.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.0985, allocations: 0 / 469.5 MB, free: 9.949 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.0006348/0.09914, allocations: 446.7 kB / 470 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.0992, allocations: 8.031 kB / 470 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.09927, allocations: 58.67 kB / 470 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.09935, allocations: 16.75 kB / 470.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.09959, allocations: 208 kB / 470.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.09961, allocations: 16.36 kB / 470.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.09964, allocations: 16.38 kB / 470.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.09993, allocations: 164.8 kB / 470.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.09995, allocations: 0 / 470.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.09998, allocations: 12 kB / 470.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.1, allocations: 4 kB / 470.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.1002, allocations: 88.8 kB / 470.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009121/0.1011, allocations: 0.7458 MB / 471.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1013, allocations: 78.55 kB / 471.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.1014, allocations: 36.84 kB / 471.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.1014, allocations: 0 / 471.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1015, allocations: 38.56 kB / 471.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1015, allocations: 0 / 471.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002924/0.1018, allocations: 113.6 kB / 471.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1018, allocations: 55.41 kB / 471.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1019, allocations: 153.3 kB / 471.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.102, allocations: 29.7 kB / 471.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.1021, allocations: 139.5 kB / 471.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.1021, allocations: 27.64 kB / 472 MB, free: 7.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.1022, allocations: 17.72 kB / 472 MB, free: 7.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1024, allocations: 322.8 kB / 472.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.1024, allocations: 27.98 kB / 472.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.1025, allocations: 60.27 kB / 472.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1027, allocations: 96.22 kB / 472.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1027, allocations: 0 / 472.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002208/0.1029, allocations: 145.2 kB / 472.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.103, allocations: 4 kB / 472.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.103, allocations: 4 kB / 472.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.103, allocations: 0 / 472.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1032, allocations: 27.98 kB / 472.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1032, allocations: 3.938 kB / 472.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.1033, allocations: 23.89 kB / 472.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1033, allocations: 8 kB / 472.7 MB, free: 6.508 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 9.282e-05/0.1034, allocations: 130.4 kB / 472.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1034, allocations: 7.906 kB / 472.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.1035, allocations: 12.72 kB / 472.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1035, allocations: 0 / 472.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1035, allocations: 3.938 kB / 472.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1035, allocations: 0 / 472.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1037, allocations: 225.6 kB / 473.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1037, allocations: 4 kB / 473.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.965e-05/0.1038, allocations: 16 kB / 473.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1038, allocations: 0 / 473.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1039, allocations: 7.984 kB / 473.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1039, allocations: 0 / 473.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1039, allocations: 3.938 kB / 473.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1042, allocations: 215.7 kB / 473.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1042, allocations: 92.94 kB / 473.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.1042, allocations: 0 / 473.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.1043, allocations: 8 kB / 473.4 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.1044, allocations: 11.92 kB / 473.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1044, allocations: 0 / 473.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.712e-05/0.1045, allocations: 117.5 kB / 473.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1045, allocations: 8.062 kB / 473.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1047, allocations: 27.84 kB / 473.6 MB, free: 5.543 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.0005561/0.1053, allocations: 0.7437 MB / 474.3 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1055, allocations: 80.05 kB / 474.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1055, allocations: 192 / 474.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.1056, allocations: 23.98 kB / 474.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1059, allocations: 27.73 kB / 474.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1079, allocations: 1.919 MB / 476.4 MB, free: 2.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1082, allocations: 0.7158 MB / 477.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.1082, allocations: 8.875 kB / 477.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.1083, allocations: 39.42 kB / 477.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1083, allocations: 0 / 477.1 MB, free: 1.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.1199, allocations: 2.257 MB / 479.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.1201, allocations: 182.1 kB / 479.6 MB, free: 15.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.764, allocations: 0 / 479.6 MB, free: 15.42 MB / 318.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)