Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",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.0007635/0.0007636, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008087/0.0008087, allocations: 181.2 kB / 16.96 MB, free: 6.902 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.3/1.3, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1547/0.1547, allocations: 8.082 MB / 300.2 MB, free: 2.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 11.98 kB / 363.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09851, allocations: 52.51 MB / 416.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.001278/0.09982, allocations: 1.015 MB / 417.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1013, allocations: 1.372 MB / 418.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.1014, allocations: 4 kB / 418.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.1016, allocations: 95.66 kB / 418.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1018, allocations: 71.66 kB / 418.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.1031, allocations: 0.8446 MB / 419.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1033, allocations: 131.4 kB / 419.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1035, allocations: 49.52 kB / 419.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.1035, allocations: 47.8 kB / 419.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1037, allocations: 59.7 kB / 419.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1037, allocations: 8 kB / 419.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.104, allocations: 207.8 kB / 420 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.104, allocations: 27.91 kB / 420 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.1041, allocations: 85.38 kB / 420.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.1045, allocations: 303.3 kB / 420.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1045, allocations: 0 / 420.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1045, allocations: 0 / 420.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1045, allocations: 0 / 420.4 MB, free: 3.988 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.001707/0.1062, allocations: 0.6433 MB / 421 MB, free: 3.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1063, allocations: 8.031 kB / 421.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.1063, allocations: 46.73 kB / 421.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1064, allocations: 16.75 kB / 421.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1066, allocations: 212.1 kB / 421.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1066, allocations: 8.375 kB / 421.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1067, allocations: 16.38 kB / 421.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.107, allocations: 179.9 kB / 421.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.107, allocations: 7.922 kB / 421.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.107, allocations: 4 kB / 421.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.107, allocations: 4 kB / 421.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1072, allocations: 116 kB / 421.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009271/0.1082, allocations: 0.543 MB / 422.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.109, allocations: 158.6 kB / 422.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.1091, allocations: 44.78 kB / 422.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.1092, allocations: 85.23 kB / 422.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1093, allocations: 34.56 kB / 422.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1093, allocations: 0 / 422.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001166/0.1104, allocations: 347.3 kB / 422.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1105, allocations: 81.11 kB / 422.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1106, allocations: 147.3 kB / 423.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1106, allocations: 29.7 kB / 423.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.1107, allocations: 124 kB / 423.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1108, allocations: 31.55 kB / 423.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1108, allocations: 29.7 kB / 423.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.1109, allocations: 322.8 kB / 423.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.111, allocations: 47.98 kB / 423.6 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1111, allocations: 70.55 kB / 423.7 MB, free: 396 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1113, allocations: 133.6 kB / 423.8 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1113, allocations: 0 / 423.8 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005513/0.1119, allocations: 222.3 kB / 424.1 MB, free: 28 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1119, allocations: 4 kB / 424.1 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1119, allocations: 4 kB / 424.1 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.174/0.2859, allocations: 83.98 kB / 424.2 MB, free: 41.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.286, allocations: 24.44 kB / 424.2 MB, free: 41.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2874, allocations: 1.445 MB / 425.6 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.2875, allocations: 16.2 kB / 425.6 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2875, allocations: 7.281 kB / 425.6 MB, free: 39.86 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.00011/0.2877, allocations: 130 kB / 425.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.2877, allocations: 6.594 kB / 425.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.2883, allocations: 207.1 kB / 426 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2883, allocations: 2.125 kB / 426 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2883, allocations: 1.172 kB / 426 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2883, allocations: 5.344 kB / 426 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2885, allocations: 241.3 kB / 426.2 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2886, allocations: 0 / 426.2 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/0.2886, allocations: 13.67 kB / 426.2 MB, free: 39.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004082/0.289, allocations: 86.67 kB / 426.3 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2891, allocations: 2.438 kB / 426.3 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.2902, allocations: 1.441 MB / 427.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2902, allocations: 0 / 427.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.2907, allocations: 277.9 kB / 428 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.2907, allocations: 94.83 kB / 428.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2908, allocations: 4.531 kB / 428.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2909, allocations: 8.719 kB / 428.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.2909, allocations: 6.688 kB / 428.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2909, allocations: 7.781 kB / 428.2 MB, free: 38.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.291, allocations: 102.2 kB / 428.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.291, allocations: 0 / 428.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.2913, allocations: 50.47 kB / 428.3 MB, free: 37.94 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.0006693/0.292, allocations: 0.8268 MB / 429.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.2926, allocations: 258.9 kB / 429.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2927, allocations: 3.094 kB / 429.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.2931, allocations: 202.7 kB / 429.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2934, allocations: 7.625 kB / 429.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2954, allocations: 1.926 MB / 431.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.2955, allocations: 0.7113 MB / 432.2 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.2956, allocations: 14.19 kB / 432.2 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.2957, allocations: 37.69 kB / 432.3 MB, free: 35.06 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2957, allocations: 2.906 kB / 432.3 MB, free: 35.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/0.4372, allocations: 3.28 MB / 435.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.4374, allocations: 198 kB / 435.8 MB, free: 34.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.158, allocations: 3.938 kB / 435.8 MB, free: 34.54 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)