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.001103/0.001103, allocations: 103.2 kB / 16.45 MB, free: 6.43 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.001136/0.001136, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05097/0.05097, allocations: 8.092 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 55.91 kB / 413.9 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08874, allocations: 51.52 MB / 465.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002455/0.09124, allocations: 1.31 MB / 466.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.09293, allocations: 1.407 MB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.09302, allocations: 0 / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.09335, allocations: 103.5 kB / 468.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.09362, allocations: 83.45 kB / 468.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.09501, allocations: 0.8789 MB / 469.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.09523, allocations: 135.3 kB / 469.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.09538, allocations: 69.92 kB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.09544, allocations: 55.8 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.09555, allocations: 75.62 kB / 469.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.09558, allocations: 12 kB / 469.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.0959, allocations: 215.8 kB / 469.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.09594, allocations: 27.91 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.096, allocations: 67.67 kB / 469.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.09638, allocations: 314.8 kB / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.09639, allocations: 0 / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0964, allocations: 0 / 470.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.09641, allocations: 0 / 470.2 MB, free: 13.97 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.00173/0.09815, allocations: 0.659 MB / 470.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.0982, allocations: 19.83 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.09826, allocations: 50.73 kB / 470.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.09831, allocations: 16.75 kB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.0985, allocations: 208.1 kB / 471.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.09852, allocations: 12.38 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.09855, allocations: 16.38 kB / 471.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.09885, allocations: 179.8 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.09887, allocations: 3.938 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.09889, allocations: 4 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.0989, allocations: 4 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.09908, allocations: 116 kB / 471.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.09992, allocations: 0.5391 MB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.1007, allocations: 158.5 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.1008, allocations: 48.78 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.1009, allocations: 85.11 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.101, allocations: 30.56 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.101, allocations: 0 / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00118/0.1022, allocations: 347.5 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1022, allocations: 81.05 kB / 472.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1023, allocations: 144.5 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1024, allocations: 33.7 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.1024, allocations: 132 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1025, allocations: 31.55 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.1025, allocations: 34.08 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1027, allocations: 322.8 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.1028, allocations: 43.98 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/0.1029, allocations: 78.34 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.103, allocations: 129.7 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1031, allocations: 0 / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005274/0.1036, allocations: 222.3 kB / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1036, allocations: 4 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1036, allocations: 0 / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.1041, allocations: 96.73 kB / 474 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1042, allocations: 19.98 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.1058, allocations: 1.558 MB / 475.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1059, allocations: 15.88 kB / 475.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1059, allocations: 3.938 kB / 475.6 MB, free: 8.129 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.000106/0.106, allocations: 129.8 kB / 475.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1061, allocations: 11.84 kB / 475.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.1066, allocations: 215.1 kB / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1066, allocations: 0 / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1066, allocations: 0 / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1066, allocations: 0 / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1069, allocations: 241.4 kB / 476.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1069, allocations: 0 / 476.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.107, allocations: 15.98 kB / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004036/0.1074, allocations: 88.77 kB / 476.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1074, allocations: 0 / 476.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.1088, allocations: 1.543 MB / 477.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1088, allocations: 0 / 477.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1093, allocations: 288 kB / 478.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.1094, allocations: 84.95 kB / 478.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1094, allocations: 8.062 kB / 478.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1095, allocations: 8 kB / 478.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1096, allocations: 7.984 kB / 478.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1096, allocations: 0 / 478.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.096e-05/0.1096, allocations: 103.3 kB / 478.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1097, allocations: 0 / 478.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.11, allocations: 47.84 kB / 478.4 MB, free: 5.117 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.0008186/0.1108, allocations: 0.8341 MB / 479.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.1115, allocations: 258.8 kB / 479.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1115, allocations: 0 / 479.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.112, allocations: 206.7 kB / 479.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1122, allocations: 8 kB / 479.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1145, allocations: 1.863 MB / 481.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1148, allocations: 0.7119 MB / 482.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.1148, allocations: 12.66 kB / 482.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.1149, allocations: 43.42 kB / 482.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1149, allocations: 0 / 482.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.1358, allocations: 3.681 MB / 486 MB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/8.906, allocations: 11.31 kB / 486 MB, free: 13.41 MB / 366.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)