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.001337/0.001337, allocations: 108 kB / 16.45 MB, free: 6.457 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.001257/0.001257, allocations: 186.4 kB / 17.38 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05602/0.05602, allocations: 8.094 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 63.89 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1124, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002809/0.1153, allocations: 1.318 MB / 466.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1176, allocations: 1.399 MB / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1177, allocations: 0 / 468.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.1182, allocations: 107.5 kB / 468.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1185, allocations: 83.47 kB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.1202, allocations: 0.8826 MB / 469.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1205, allocations: 135.4 kB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1207, allocations: 69.92 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.1207, allocations: 59.73 kB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1209, allocations: 63.7 kB / 469.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1209, allocations: 12 kB / 469.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.1214, allocations: 211.8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.1214, allocations: 35.84 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.1215, allocations: 63.67 kB / 469.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.122, allocations: 319.2 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.122, allocations: 0 / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.122, allocations: 4 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.122, 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.002005/0.1241, allocations: 0.665 MB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1241, allocations: 23.77 kB / 470.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/0.1242, allocations: 46.73 kB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1242, allocations: 16.84 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1245, allocations: 210.5 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1245, allocations: 12.38 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1245, allocations: 20.31 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.1249, allocations: 175.9 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1249, allocations: 3.938 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1249, allocations: 7.938 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1249, allocations: 4 kB / 471.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.1251, allocations: 108 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009578/0.1261, allocations: 0.5431 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.127, allocations: 158.6 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.1271, allocations: 44.8 kB / 472.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.1273, allocations: 85.09 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1273, allocations: 38.69 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1273, allocations: 0 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001282/0.1286, allocations: 343.4 kB / 472.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.1287, allocations: 77.11 kB / 472.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1288, allocations: 149.5 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1289, allocations: 29.7 kB / 472.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.129, allocations: 136.2 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.129, allocations: 27.75 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.1291, allocations: 33.7 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1292, allocations: 326.8 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.1293, allocations: 43.98 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1295, allocations: 82.53 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.1297, allocations: 133.6 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1297, allocations: 0 / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006381/0.1304, allocations: 214.4 kB / 473.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1304, allocations: 8 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1304, allocations: 64 / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.131, allocations: 88.77 kB / 474 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1312, allocations: 19.98 kB / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.1331, allocations: 1.558 MB / 475.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1333, allocations: 15.92 kB / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1333, 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.0001462/0.1334, allocations: 125.8 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.1335, allocations: 23.92 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.1341, allocations: 199.5 kB / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1341, allocations: 0 / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1341, allocations: 0 / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1342, allocations: 0 / 476 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1345, allocations: 241.4 kB / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1345, allocations: 0 / 476.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.004e-05/0.1346, allocations: 19.92 kB / 476.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.1351, allocations: 84.78 kB / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1351, allocations: 7.984 kB / 476.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.1368, allocations: 1.547 MB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1368, allocations: 0 / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.1374, allocations: 272.3 kB / 478.1 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.1375, allocations: 96.92 kB / 478.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1375, allocations: 4 kB / 478.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1377, allocations: 8 kB / 478.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1377, allocations: 7.984 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1378, allocations: 3.938 kB / 478.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.22e-05/0.1378, allocations: 106.4 kB / 478.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1379, allocations: 0 / 478.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.1382, allocations: 47.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.0009815/0.1392, allocations: 0.838 MB / 479.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.1401, allocations: 254.6 kB / 479.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1401, allocations: 4.062 kB / 479.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.1407, allocations: 198.9 kB / 479.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1409, allocations: 8 kB / 479.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.1436, allocations: 1.872 MB / 481.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.144, allocations: 0.7158 MB / 482.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.1441, allocations: 8.656 kB / 482.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.1442, allocations: 43.42 kB / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1442, allocations: 0 / 482.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.1746, allocations: 3.624 MB / 485.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.908/10.08, allocations: 7.25 kB / 485.9 MB, free: 13.4 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)