Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",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.004829/0.004829, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.348/1.348, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001421/0.001421, allocations: 180.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03588/0.03588, allocations: 8.798 MB / 348.7 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 71.88 kB / 463.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09513, allocations: 51.56 MB / 0.5029 GB, free: 9.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002806/0.09798, allocations: 1.823 MB / 0.5047 GB, free: 8.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.09869, allocations: 462.8 kB / 0.5051 GB, free: 7.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.09878, allocations: 0 / 0.5051 GB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.09889, allocations: 23.78 kB / 0.5051 GB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.09898, allocations: 35.7 kB / 0.5052 GB, free: 7.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.09911, allocations: 19.97 kB / 0.5052 GB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.09928, allocations: 123.5 kB / 0.5053 GB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.09942, allocations: 49.03 kB / 0.5054 GB, free: 7.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.09949, allocations: 47.8 kB / 0.5054 GB, free: 7.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.09959, allocations: 55.77 kB / 0.5055 GB, free: 7.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.09962, allocations: 8 kB / 0.5055 GB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.09965, allocations: 12 kB / 0.5055 GB, free: 7.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.09969, allocations: 23.92 kB / 0.5055 GB, free: 7.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.09977, allocations: 51.73 kB / 0.5056 GB, free: 7.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.09994, allocations: 119.5 kB / 0.5057 GB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.09995, allocations: 0 / 0.5057 GB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09996, allocations: 0 / 0.5057 GB, free: 7.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.09997, allocations: 0 / 0.5057 GB, free: 7.125 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005333/0.1005, allocations: 430.8 kB / 0.5061 GB, free: 6.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1005, allocations: 12.03 kB / 0.5061 GB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.1006, allocations: 34.75 kB / 0.5061 GB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1006, allocations: 16.84 kB / 0.5061 GB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1009, allocations: 196.2 kB / 0.5063 GB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1009, allocations: 12.38 kB / 0.5063 GB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1009, allocations: 12.31 kB / 0.5064 GB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1011, allocations: 105.7 kB / 0.5065 GB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1011, allocations: 0 / 0.5065 GB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1012, allocations: 12 kB / 0.5065 GB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1012, allocations: 0 / 0.5065 GB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1013, allocations: 59.97 kB / 0.5065 GB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.102, allocations: 0.4944 MB / 0.507 GB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.1022, allocations: 46.56 kB / 0.507 GB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.1022, allocations: 16.86 kB / 0.5071 GB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.1022, allocations: 0 / 0.5071 GB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1022, allocations: 42.64 kB / 0.5071 GB, free: 5.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1022, allocations: 0 / 0.5071 GB, free: 5.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.1024, allocations: 65.58 kB / 0.5072 GB, free: 5.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1025, allocations: 51.41 kB / 0.5072 GB, free: 5.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1026, allocations: 139.4 kB / 0.5074 GB, free: 5.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1026, allocations: 29.7 kB / 0.5074 GB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.363e-05/0.1027, allocations: 124 kB / 0.5075 GB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.1027, allocations: 15.89 kB / 0.5075 GB, free: 5.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1028, allocations: 21.72 kB / 0.5075 GB, free: 4.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1029, allocations: 322.8 kB / 0.5078 GB, free: 4.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.1029, allocations: 8 kB / 0.5078 GB, free: 4.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.103, allocations: 42.56 kB / 0.5079 GB, free: 4.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.1031, allocations: 50.52 kB / 0.5079 GB, free: 4.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1031, allocations: 0 / 0.5079 GB, free: 4.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.1032, allocations: 77.77 kB / 0.508 GB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1032, allocations: 4 kB / 0.508 GB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1032, allocations: 4 kB / 0.508 GB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1033, allocations: 4.062 kB / 0.508 GB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.1033, allocations: 16.05 kB / 0.508 GB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1034, allocations: 7.984 kB / 0.508 GB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1034, allocations: 19.83 kB / 0.5081 GB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1034, allocations: 4 kB / 0.5081 GB, free: 4.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.987e-05/0.1035, allocations: 125.7 kB / 0.5082 GB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.1036, allocations: 7.953 kB / 0.5082 GB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.1036, allocations: 8.25 kB / 0.5082 GB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1036, allocations: 0 / 0.5082 GB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1036, allocations: 11.94 kB / 0.5082 GB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1036, allocations: 0 / 0.5082 GB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1038, allocations: 193.6 kB / 0.5084 GB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1038, allocations: 4 kB / 0.5084 GB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.1039, allocations: 8 kB / 0.5084 GB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1039, allocations: 3.984 kB / 0.5084 GB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1039, allocations: 0 / 0.5084 GB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1039, allocations: 0 / 0.5084 GB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1039, allocations: 0 / 0.5084 GB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1041, allocations: 171.4 kB / 0.5086 GB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1042, allocations: 85.09 kB / 0.5087 GB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1042, allocations: 3.984 kB / 0.5087 GB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.1043, allocations: 4 kB / 0.5087 GB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.1043, allocations: 0 / 0.5087 GB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1043, allocations: 4 kB / 0.5087 GB, free: 3.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.978e-05/0.1044, allocations: 109 kB / 0.5088 GB, free: 3.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1044, allocations: 0 / 0.5088 GB, free: 3.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1046, allocations: 24 kB / 0.5088 GB, free: 3.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.0004509/0.1051, allocations: 0.6968 MB / 0.5095 GB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1052, allocations: 35.92 kB / 0.5095 GB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1052, allocations: 0 / 0.5095 GB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.179e-05/0.1053, allocations: 12.12 kB / 0.5095 GB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1055, allocations: 15.98 kB / 0.5095 GB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1071, allocations: 1.584 MB / 0.5111 GB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1074, allocations: 0.7002 MB / 0.5118 GB, free: 376 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.1075, allocations: 8.781 kB / 0.5118 GB, free: 368 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.1075, allocations: 31.36 kB / 0.5118 GB, free: 336 kB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1075, allocations: 0 / 0.5118 GB, free: 336 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1309, allocations: 2.005 MB / 0.5138 GB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/7.708, allocations: 3.984 kB / 0.5138 GB, free: 14.39 MB / 366.1 MB (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)