Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001702/0.001702, allocations: 102.7 kB / 16.45 MB, free: 6.441 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.001976/0.001976, allocations: 189.4 kB / 17.38 MB, free: 5.691 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.412/1.412, 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.05541/0.05541, allocations: 8.094 MB / 299.3 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.83 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09731, allocations: 51.51 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002845/0.1002, allocations: 1.617 MB / 467.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1023, allocations: 1.555 MB / 468.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.1024, allocations: 4 kB / 468.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.1028, allocations: 127.3 kB / 468.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.1032, allocations: 139.1 kB / 468.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.1052, allocations: 1.038 MB / 470 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.1056, allocations: 250.8 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1058, allocations: 72.36 kB / 470.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.106, allocations: 107.6 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1062, allocations: 131.4 kB / 470.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1063, allocations: 20 kB / 470.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.1068, allocations: 235.7 kB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.1068, allocations: 47.78 kB / 470.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.107, allocations: 119.5 kB / 470.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.1076, allocations: 418.8 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1076, allocations: 0 / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1076, allocations: 3.938 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1076, allocations: 4 kB / 471.4 MB, free: 12.79 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00373/0.1114, allocations: 1.002 MB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1114, allocations: 11.89 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.1115, allocations: 54.73 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.1116, allocations: 24.8 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.112, allocations: 264.3 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.1121, allocations: 16.7 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.1121, allocations: 16.38 kB / 472.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.1127, allocations: 306.5 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1127, allocations: 3.938 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.1127, allocations: 8 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1127, allocations: 4 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.1132, allocations: 243.9 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.115, allocations: 1.16 MB / 474.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000704/0.1157, allocations: 322.4 kB / 474.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.116, allocations: 154.1 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/0.1161, allocations: 11.92 kB / 474.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1161, allocations: 38.5 kB / 475 MB, free: 8.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.1161, allocations: 4 kB / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.004047/0.1202, allocations: 1.073 MB / 476 MB, free: 7.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.1203, allocations: 106.8 kB / 476.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1206, allocations: 222.8 kB / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.1206, allocations: 33.7 kB / 476.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.1207, allocations: 124.9 kB / 476.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.1208, allocations: 91.22 kB / 476.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.121, allocations: 77.67 kB / 476.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1211, allocations: 326.8 kB / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1214, allocations: 176.2 kB / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.1217, allocations: 214.4 kB / 477.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.1224, allocations: 377.5 kB / 477.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1224, allocations: 7.875 kB / 477.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002202/0.1246, allocations: 0.7515 MB / 478.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1246, allocations: 8 kB / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1246, allocations: 0 / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.1268, allocations: 424.4 kB / 478.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.1271, allocations: 55.91 kB / 479 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/0.132, allocations: 2.722 MB / 481.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.1323, allocations: 43.77 kB / 481.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.1323, allocations: 8 kB / 481.8 MB, free: 1.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.1325, allocations: 141.8 kB / 481.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.1326, allocations: 23.86 kB / 481.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.1347, allocations: 0.6987 MB / 482.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1348, allocations: 7.984 kB / 482.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1348, allocations: 0 / 482.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1348, allocations: 7.875 kB / 482.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.1352, allocations: 393.3 kB / 483 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1352, allocations: 0 / 483 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1354, allocations: 39.98 kB / 483.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.1375, allocations: 424.3 kB / 483.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.1376, allocations: 4 kB / 483.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/0.1421, allocations: 2.692 MB / 486.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1421, allocations: 4 kB / 486.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.1442, allocations: 0.7386 MB / 486.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.1443, allocations: 104.9 kB / 487 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1443, allocations: 0 / 487 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.1446, allocations: 35.55 kB / 487 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.1447, allocations: 19.97 kB / 487.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.1447, allocations: 15.98 kB / 487.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1449, allocations: 156.4 kB / 487.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1449, allocations: 0 / 487.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004634/0.1454, allocations: 107.9 kB / 487.3 MB, free: 12.04 MB / 366.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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002593/0.148, allocations: 1.314 MB / 488.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.1496, allocations: 0.6194 MB / 489.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.1497, allocations: 3.938 kB / 489.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.1507, allocations: 406.5 kB / 489.7 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1511, allocations: 31.94 kB / 489.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/0.158, allocations: 3.497 MB / 493.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.1584, allocations: 0.7485 MB / 493.9 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1586, allocations: 29.92 kB / 494 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1587, allocations: 71.41 kB / 494 MB, free: 5.148 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1587, allocations: 4 kB / 494.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.2056, allocations: 9.646 MB / 0.4919 GB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.06, allocations: 4.938 kB / 0.4919 GB, free: 11.62 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)