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.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 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.382/1.382, allocations: 222.9 MB / 239.3 MB, free: 4.594 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.001338/0.001338, allocations: 192.4 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03549/0.03549, allocations: 8.797 MB / 348.5 MB, free: 4.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 76.73 kB / 411.2 MB, free: 42.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1177, allocations: 51.57 MB / 462.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.00346/0.1212, allocations: 1.805 MB / 464.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.122, allocations: 470.8 kB / 465 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.1221, allocations: 0 / 465 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.1223, allocations: 19.84 kB / 465 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-05/0.1223, allocations: 35.7 kB / 465.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.1225, allocations: 19.97 kB / 465.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1227, allocations: 127.4 kB / 465.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1228, allocations: 44.95 kB / 465.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.1229, allocations: 43.86 kB / 465.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.123, allocations: 51.77 kB / 465.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.123, allocations: 12 kB / 465.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.364e-05/0.1231, allocations: 12 kB / 465.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.1231, allocations: 27.86 kB / 465.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.1232, allocations: 55.73 kB / 465.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1233, allocations: 119.9 kB / 465.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1233, allocations: 0 / 465.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1233, allocations: 0 / 465.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1234, allocations: 0 / 465.6 MB, free: 11.52 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005129/0.1239, allocations: 407.1 kB / 466 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1239, allocations: 12.03 kB / 466 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.124, allocations: 50.73 kB / 466 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.124, allocations: 8.844 kB / 466 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1242, allocations: 196.2 kB / 466.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1242, allocations: 4.375 kB / 466.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1243, allocations: 12.31 kB / 466.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1245, allocations: 111.3 kB / 466.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1245, allocations: 0 / 466.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1245, allocations: 8 kB / 466.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1245, allocations: 0 / 466.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1246, allocations: 55.98 kB / 466.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.1253, allocations: 0.502 MB / 466.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.953e-05/0.1254, allocations: 50.58 kB / 467 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.1255, allocations: 16.94 kB / 467 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.1255, allocations: 4 kB / 467 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1255, allocations: 34.5 kB / 467 MB, free: 9.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.474e-06/0.1255, allocations: 3.984 kB / 467 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001719/0.1257, allocations: 57.69 kB / 467.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1257, allocations: 59.34 kB / 467.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1259, allocations: 151.9 kB / 467.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1259, allocations: 25.7 kB / 467.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.126, allocations: 124 kB / 467.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.126, allocations: 11.81 kB / 467.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.126, allocations: 17.72 kB / 467.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1261, allocations: 326.8 kB / 467.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.1262, allocations: 12 kB / 467.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.1262, allocations: 42.48 kB / 467.8 MB, free: 9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.1263, allocations: 42.58 kB / 467.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1263, allocations: 0 / 467.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001109/0.1264, allocations: 89.53 kB / 468 MB, free: 8.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1264, allocations: 4 kB / 468 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1264, allocations: 4.062 kB / 468 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1265, allocations: 0 / 468 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1266, allocations: 23.92 kB / 468 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1266, allocations: 0 / 468 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.1266, allocations: 3.938 kB / 468 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1266, allocations: 4 kB / 468 MB, free: 8.816 MB / 302.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.768e-05/0.1267, allocations: 129.7 kB / 468.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1268, allocations: 7.906 kB / 468.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.1268, allocations: 12.23 kB / 468.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1268, allocations: 4 kB / 468.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1268, allocations: 3.938 kB / 468.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1268, allocations: 0 / 468.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.127, allocations: 193.6 kB / 468.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.127, allocations: 0 / 468.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.1271, allocations: 11.98 kB / 468.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1271, allocations: 0 / 468.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1271, allocations: 0 / 468.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1271, allocations: 7.938 kB / 468.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1271, allocations: 0 / 468.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1273, allocations: 167.4 kB / 468.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.1274, allocations: 89 kB / 468.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1274, allocations: 0 / 468.6 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.1275, allocations: 4.031 kB / 468.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.1275, allocations: 4 kB / 468.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1275, allocations: 0 / 468.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.1276, allocations: 109 kB / 468.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1276, allocations: 4.062 kB / 468.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1278, allocations: 31.84 kB / 468.8 MB, free: 7.957 MB / 302.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.0004322/0.1283, allocations: 0.6927 MB / 469.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.1284, allocations: 35.92 kB / 469.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1284, allocations: 192 / 469.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.1285, allocations: 19.98 kB / 469.5 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1288, allocations: 16.12 kB / 469.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1303, allocations: 1.575 MB / 471.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1306, allocations: 0.7041 MB / 471.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.1307, allocations: 8.766 kB / 471.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1307, allocations: 27.38 kB / 471.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1307, allocations: 0 / 471.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1509, allocations: 1.973 MB / 473.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.747, allocations: 3.938 kB / 473.8 MB, free: 2.824 MB / 302.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)