Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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/Complex 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",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.001086/0.001086, allocations: 103.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 192.5 kB / 17.39 MB, free: 5.684 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0463/0.0463, allocations: 8.101 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09869, allocations: 51.52 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002658/0.1014, allocations: 1.313 MB / 466.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1034, allocations: 1.403 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1036, allocations: 7.938 kB / 468.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.104, allocations: 103.5 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1044, allocations: 79.47 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.1059, allocations: 0.8791 MB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1062, allocations: 139.3 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1064, allocations: 61.95 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.1065, allocations: 59.73 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1066, allocations: 75.69 kB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1066, allocations: 12 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.1071, allocations: 207.8 kB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.1071, allocations: 27.91 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.1072, allocations: 75.61 kB / 469.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.1077, allocations: 318.8 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1077, allocations: 0 / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1077, allocations: 0 / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1077, allocations: 0 / 470.2 MB, free: 13.92 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001931/0.1097, allocations: 0.6551 MB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1097, allocations: 11.89 kB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.1098, allocations: 54.61 kB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.1099, allocations: 16.75 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1101, allocations: 208.1 kB / 471.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1101, allocations: 8.375 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1102, allocations: 16.38 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1105, allocations: 191.8 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1105, allocations: 3.938 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1105, allocations: 0 / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1105, allocations: 4 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1107, allocations: 116 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.1117, allocations: 0.543 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.1126, allocations: 154.6 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.1127, allocations: 44.78 kB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.1129, allocations: 85.11 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1129, allocations: 34.56 kB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.1129, allocations: 0 / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001316/0.1142, allocations: 347.5 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1143, allocations: 81.11 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1144, allocations: 148.6 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1145, allocations: 29.7 kB / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.1146, allocations: 132 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1146, allocations: 31.55 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.1147, allocations: 33.7 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1148, allocations: 318.8 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.1149, allocations: 51.97 kB / 473.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.115, allocations: 70.94 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.1153, allocations: 133.4 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1153, allocations: 0 / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00071/0.116, allocations: 222.3 kB / 473.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.116, allocations: 7.938 kB / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.116, allocations: 0 / 473.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/0.1167, allocations: 88.81 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1169, allocations: 23.98 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.1188, allocations: 1.55 MB / 475.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1189, allocations: 11.84 kB / 475.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1189, allocations: 11.98 kB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1191, allocations: 129.8 kB / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.1191, allocations: 15.83 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/0.1197, allocations: 203.2 kB / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1197, allocations: 0 / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1197, allocations: 4 kB / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1197, allocations: 0 / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.12, allocations: 241.3 kB / 476.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.12, allocations: 0 / 476.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.1201, allocations: 19.94 kB / 476.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.1206, allocations: 84.77 kB / 476.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1206, allocations: 8 kB / 476.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.1222, allocations: 1.535 MB / 477.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1222, allocations: 0 / 477.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.1228, allocations: 280.1 kB / 478.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.1228, allocations: 88.95 kB / 478.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.1229, allocations: 8.062 kB / 478.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.123, allocations: 8 kB / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1231, allocations: 7.984 kB / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1231, allocations: 4 kB / 478.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.1e-05/0.1231, allocations: 103.2 kB / 478.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1232, allocations: 0 / 478.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1235, allocations: 55.78 kB / 478.4 MB, free: 5.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009134/0.1244, allocations: 0.8227 MB / 479.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000798/0.1252, allocations: 266.8 kB / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1252, allocations: 0 / 479.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.1258, allocations: 202.7 kB / 479.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1261, allocations: 8 kB / 479.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1288, allocations: 1.862 MB / 481.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1291, allocations: 0.7119 MB / 482.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.1292, allocations: 12.66 kB / 482.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.1293, allocations: 39.42 kB / 482.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1293, allocations: 0 / 482.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1529, allocations: 3.688 MB / 486 MB, free: 13.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.094/9.247, allocations: 3.938 kB / 486 MB, free: 13.37 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1)