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.001436/0.001436, allocations: 104 kB / 16.45 MB, free: 6.434 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.001588/0.001588, allocations: 192.7 kB / 17.39 MB, free: 5.668 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04411/0.04411, allocations: 8.1 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 67.89 kB / 413.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09823, allocations: 51.52 MB / 465.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002456/0.1007, allocations: 1.326 MB / 466.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1026, allocations: 1.391 MB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.1026, allocations: 4 kB / 468.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.103, allocations: 107.5 kB / 468.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1033, allocations: 83.47 kB / 468.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1048, allocations: 0.8828 MB / 469.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.105, allocations: 139.3 kB / 469.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1052, allocations: 65.94 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.1053, allocations: 59.78 kB / 469.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1054, allocations: 75.62 kB / 469.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1054, allocations: 12 kB / 469.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.1058, allocations: 211.8 kB / 469.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.1058, allocations: 27.92 kB / 469.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.1059, allocations: 71.66 kB / 469.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1063, allocations: 310.8 kB / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1063, allocations: 0 / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1063, allocations: 0 / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1064, allocations: 0 / 470.2 MB, free: 13.86 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.001833/0.1082, allocations: 0.6692 MB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1082, allocations: 11.89 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.1083, allocations: 46.73 kB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1084, allocations: 16.75 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1087, allocations: 216.1 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1087, allocations: 8.375 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1088, allocations: 16.38 kB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.1092, allocations: 179.9 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1092, allocations: 7.875 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1092, allocations: 4 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1092, allocations: 4 kB / 471.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.1094, allocations: 116 kB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/0.1105, allocations: 0.5352 MB / 472 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.1113, allocations: 162.5 kB / 472.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.1114, allocations: 44.8 kB / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.1116, allocations: 85.09 kB / 472.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1116, allocations: 34.56 kB / 472.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.635e-06/0.1116, allocations: 3.984 kB / 472.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001286/0.1129, allocations: 343.5 kB / 472.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.113, allocations: 81.11 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1131, allocations: 141.5 kB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1132, allocations: 29.64 kB / 472.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.1133, allocations: 128 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1133, allocations: 35.55 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.1134, allocations: 33.72 kB / 473.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1135, allocations: 322.8 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.1136, allocations: 47.98 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1137, allocations: 70.55 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1139, allocations: 125.7 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1139, allocations: 4.031 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005493/0.1145, allocations: 218.3 kB / 473.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1145, allocations: 11.5 kB / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1145, allocations: 0 / 473.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.1151, allocations: 88.8 kB / 474 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1152, allocations: 27.92 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.117, allocations: 1.558 MB / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1171, allocations: 19.81 kB / 475.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1172, allocations: 4 kB / 475.6 MB, free: 8.012 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.0001268/0.1173, allocations: 125.8 kB / 475.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1173, allocations: 11.84 kB / 475.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.1179, allocations: 203.2 kB / 475.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1179, allocations: 4 kB / 475.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.1179, allocations: 0 / 475.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.118, allocations: 0 / 475.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.1183, allocations: 245.3 kB / 476.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1183, allocations: 0 / 476.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.1184, allocations: 19.98 kB / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.1188, allocations: 88.77 kB / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1188, allocations: 0 / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.1203, allocations: 1.539 MB / 477.8 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1204, allocations: 4.062 kB / 477.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.1209, allocations: 280 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1209, allocations: 88.95 kB / 478.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.121, allocations: 8 kB / 478.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1211, allocations: 8 kB / 478.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1211, allocations: 11.98 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1211, allocations: 0 / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.1212, allocations: 103.3 kB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1212, allocations: 0 / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.1216, allocations: 47.84 kB / 478.4 MB, free: 5.004 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.0008831/0.1225, allocations: 0.8341 MB / 479.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.1232, allocations: 258.8 kB / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1232, allocations: 0 / 479.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.1237, allocations: 207 kB / 479.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.124, allocations: 4.219 kB / 479.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1264, allocations: 1.85 MB / 481.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1266, allocations: 0.7119 MB / 482.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.1267, allocations: 16.58 kB / 482.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.1268, allocations: 47.42 kB / 482.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1268, allocations: 3.938 kB / 482.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.1479, allocations: 3.671 MB / 486 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.862/9.01, allocations: 6.5 kB / 486 MB, free: 13.3 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)