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.001315/0.001315, allocations: 106.5 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.001408/0.001408, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05143/0.05143, allocations: 8.092 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09525, allocations: 51.51 MB / 465.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002827/0.09812, allocations: 1.322 MB / 466.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1002, allocations: 1.399 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.1003, allocations: 4 kB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.1007, allocations: 103.5 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1009, allocations: 87.47 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.1026, allocations: 0.8673 MB / 469.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1029, allocations: 147.3 kB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.103, allocations: 57.95 kB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.1031, allocations: 67.72 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1032, allocations: 67.69 kB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1033, allocations: 12 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1037, allocations: 211.8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.1037, allocations: 27.92 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.445e-05/0.1038, allocations: 75.59 kB / 469.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.1043, allocations: 315.2 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1043, allocations: 0 / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1043, allocations: 0 / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1043, allocations: 0 / 470.2 MB, free: 13.93 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.001964/0.1063, allocations: 0.6662 MB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1064, allocations: 15.83 kB / 470.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.1064, allocations: 42.73 kB / 470.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.1065, allocations: 16.84 kB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1067, allocations: 220.1 kB / 471.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1068, allocations: 8.375 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.1068, allocations: 16.38 kB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.1071, allocations: 183.8 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1072, allocations: 7.922 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1072, allocations: 4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1072, allocations: 4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.1074, allocations: 112 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.1084, allocations: 0.5392 MB / 472 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.1093, allocations: 158.6 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.1094, allocations: 48.72 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.1096, allocations: 85.11 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1096, allocations: 34.56 kB / 472.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1096, allocations: 0 / 472.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001321/0.1109, allocations: 347.5 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.111, allocations: 77.11 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1111, allocations: 153.5 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1112, allocations: 25.7 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.1113, allocations: 128.2 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1113, allocations: 31.73 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.1114, allocations: 41.7 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1115, allocations: 322.8 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1116, allocations: 47.98 kB / 473.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1118, allocations: 70.22 kB / 473.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.112, allocations: 137.5 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.112, allocations: 0 / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006038/0.1126, allocations: 218.4 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1126, allocations: 7.125 kB / 473.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1127, allocations: 4 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/0.1132, allocations: 84.75 kB / 474 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1133, allocations: 27.98 kB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.1152, allocations: 1.547 MB / 475.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1153, allocations: 24.06 kB / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1153, allocations: 7.938 kB / 475.6 MB, free: 8.074 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.0001293/0.1155, allocations: 121.8 kB / 475.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1155, allocations: 15.84 kB / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005949/0.1161, allocations: 203.1 kB / 475.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1161, allocations: 8 kB / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.1162, allocations: 0 / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1162, allocations: 0 / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.1164, allocations: 241.5 kB / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1165, allocations: 384 / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.1165, allocations: 16 kB / 476.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.117, allocations: 92.7 kB / 476.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.117, allocations: 0 / 476.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.1187, allocations: 1.539 MB / 477.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1187, allocations: 0 / 477.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.1193, allocations: 280.3 kB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.1194, allocations: 92.94 kB / 478.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1194, allocations: 4 kB / 478.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1195, allocations: 4 kB / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.1196, allocations: 11.98 kB / 478.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1196, allocations: 8 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.1197, allocations: 103.2 kB / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1197, allocations: 0 / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.12, allocations: 51.89 kB / 478.4 MB, free: 5.062 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.0009395/0.121, allocations: 0.8302 MB / 479.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008004/0.1218, allocations: 266.6 kB / 479.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1218, allocations: 0 / 479.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.1224, allocations: 203 kB / 479.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.1226, allocations: 8 kB / 479.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.1254, allocations: 1.875 MB / 481.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1257, allocations: 0.708 MB / 482.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.1258, allocations: 12.66 kB / 482.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.1259, allocations: 39.42 kB / 482.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1259, allocations: 4 kB / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.1572, allocations: 3.6 MB / 485.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.851/10.01, allocations: 13.92 kB / 485.9 MB, free: 13.41 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)