Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.00096/0.00096, allocations: 107.7 kB / 16.03 MB, free: 6.316 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.0009078/0.0009078, allocations: 195.4 kB / 16.95 MB, free: 6.145 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.199/1.199, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04754/0.04754, allocations: 8.104 MB / 298.9 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 361.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1825, allocations: 51.5 MB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002207/0.1848, allocations: 1.729 MB / 414.6 MB, free: 24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1861, allocations: 1.555 MB / 416.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.1862, allocations: 8 kB / 416.1 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1865, allocations: 103.6 kB / 416.2 MB, free: 22.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1867, allocations: 119.3 kB / 416.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1879, allocations: 0.8601 MB / 417.2 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1881, allocations: 258.7 kB / 417.5 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1883, allocations: 88.58 kB / 417.5 MB, free: 20.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.1884, allocations: 111.5 kB / 417.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1885, allocations: 139.4 kB / 417.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1885, allocations: 24 kB / 417.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002566/0.1888, allocations: 207.8 kB / 418 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.1889, allocations: 55.7 kB / 418.1 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.1889, allocations: 127.3 kB / 418.2 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.1893, allocations: 417.1 kB / 418.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1893, allocations: 0 / 418.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1893, allocations: 0 / 418.6 MB, free: 19.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1893, allocations: 0 / 418.6 MB, free: 19.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002266/0.1916, allocations: 0.8461 MB / 419.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1916, allocations: 11.89 kB / 419.5 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.1917, allocations: 54.73 kB / 419.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.1917, allocations: 24.66 kB / 419.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1919, allocations: 276.6 kB / 419.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.192, allocations: 12.81 kB / 419.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.192, allocations: 28.38 kB / 419.8 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1924, allocations: 287.8 kB / 420.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1924, allocations: 7.922 kB / 420.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1924, allocations: 8 kB / 420.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1924, allocations: 4 kB / 420.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.1928, allocations: 277.6 kB / 420.4 MB, free: 18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1939, allocations: 1.039 MB / 421.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.1947, allocations: 459.8 kB / 421.9 MB, free: 16.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.195, allocations: 180.8 kB / 422.1 MB, free: 16.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.195, allocations: 4 kB / 422.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.195, allocations: 46.5 kB / 422.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.195, allocations: 0 / 422.1 MB, free: 16.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002688/0.1977, allocations: 0.9539 MB / 423.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.1978, allocations: 51.41 kB / 423.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1979, allocations: 215.8 kB / 423.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.198, allocations: 33.7 kB / 423.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.198, allocations: 144.5 kB / 423.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.1981, allocations: 98.55 kB / 423.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1982, allocations: 73.64 kB / 423.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.1983, allocations: 346.7 kB / 424 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1985, allocations: 175.9 kB / 424.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1987, allocations: 175.9 kB / 424.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.1991, allocations: 385.5 kB / 424.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1991, allocations: 0 / 424.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001222/0.2003, allocations: 0.6694 MB / 425.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2004, allocations: 4 kB / 425.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2004, allocations: 3.984 kB / 425.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.2014, allocations: 248.6 kB / 425.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2016, allocations: 55.97 kB / 425.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.2046, allocations: 2.694 MB / 428.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.2048, allocations: 31.53 kB / 428.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.2048, allocations: 15.98 kB / 428.5 MB, free: 9.605 MB / 302.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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.205, allocations: 147.1 kB / 428.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.205, allocations: 19.81 kB / 428.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.2063, allocations: 0.6107 MB / 429.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2063, allocations: 4.109 kB / 429.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.2063, allocations: 3.938 kB / 429.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2063, allocations: 3.938 kB / 429.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.2078, allocations: 1.057 MB / 430.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2079, allocations: 3.938 kB / 430.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.208, allocations: 27.98 kB / 430.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/0.2089, allocations: 252.9 kB / 430.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2089, allocations: 7.938 kB / 430.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.2116, allocations: 2.665 MB / 433.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2116, allocations: 0 / 433.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.2128, allocations: 0.6524 MB / 433.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.2128, allocations: 100.8 kB / 434 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.2129, allocations: 4 kB / 434 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.2131, allocations: 11.98 kB / 434 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.2132, allocations: 27.97 kB / 434 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2132, allocations: 12 kB / 434.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.2133, allocations: 163 kB / 434.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2133, allocations: 11.88 kB / 434.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.2137, allocations: 108 kB / 434.3 MB, free: 3.469 MB / 302.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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/0.2151, allocations: 1.209 MB / 435.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2162, allocations: 0.6232 MB / 436.2 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2162, allocations: 0 / 436.2 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007064/0.2169, allocations: 406.4 kB / 436.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2173, allocations: 27.98 kB / 436.6 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.222, allocations: 3.444 MB / 440 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2223, allocations: 0.7485 MB / 440.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.2224, allocations: 30.02 kB / 440.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.2225, allocations: 71.41 kB / 440.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2225, allocations: 0 / 440.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5606/0.7831, allocations: 8.825 MB / 449.7 MB, free: 4.086 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.7834, allocations: 223.2 kB / 449.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.93, allocations: 0 / 449.9 MB, free: 3.832 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)