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.001157/0.001157, allocations: 106.3 kB / 16.31 MB, free: 5.879 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.001171/0.001171, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04268/0.04268, allocations: 8.099 MB / 299.2 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 59.91 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1978, allocations: 51.51 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002146/0.2, allocations: 1.611 MB / 415 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.2014, allocations: 1.551 MB / 416.5 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.2015, allocations: 4 kB / 416.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.2017, allocations: 139.3 kB / 416.6 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.202, allocations: 135.1 kB / 416.8 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2034, allocations: 1.027 MB / 417.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.2036, allocations: 242.8 kB / 418 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2037, allocations: 76.22 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.2038, allocations: 111.6 kB / 418.2 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.2039, allocations: 119.5 kB / 418.3 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.204, allocations: 20 kB / 418.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.2043, allocations: 239.7 kB / 418.6 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.2044, allocations: 47.83 kB / 418.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.953e-05/0.2044, allocations: 119.3 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.2048, allocations: 417.1 kB / 419.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2048, allocations: 0 / 419.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2048, allocations: 7.938 kB / 419.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2048, allocations: 0 / 419.2 MB, free: 19.71 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003152/0.208, allocations: 0.9944 MB / 420.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.208, allocations: 11.89 kB / 420.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.2081, allocations: 50.73 kB / 420.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.2082, allocations: 28.66 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.2084, allocations: 255.9 kB / 420.5 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2084, allocations: 16.64 kB / 420.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.2085, allocations: 20.38 kB / 420.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.2088, allocations: 306.6 kB / 420.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2088, allocations: 3.938 kB / 420.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.2089, allocations: 4 kB / 420.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2089, allocations: 4 kB / 420.9 MB, free: 17.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.2092, allocations: 251.8 kB / 421.1 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2105, allocations: 1.18 MB / 422.3 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.211, allocations: 306.5 kB / 422.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2112, allocations: 152.8 kB / 422.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.2113, allocations: 4 kB / 422.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2113, allocations: 42.56 kB / 422.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.2113, allocations: 3.984 kB / 422.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003574/0.2149, allocations: 1.07 MB / 423.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2149, allocations: 114.8 kB / 424 MB, free: 14.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.2151, allocations: 214.9 kB / 424.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2151, allocations: 29.7 kB / 424.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.2152, allocations: 136.8 kB / 424.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.2152, allocations: 86.73 kB / 424.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2153, allocations: 73.59 kB / 424.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.2154, allocations: 330.8 kB / 424.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2156, allocations: 180.2 kB / 425 MB, free: 13.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2159, allocations: 210.5 kB / 425.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.2163, allocations: 377.5 kB / 425.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2163, allocations: 4 kB / 425.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001792/0.2181, allocations: 0.7397 MB / 426.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2182, allocations: 4 kB / 426.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2182, allocations: 4 kB / 426.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.2201, allocations: 424.4 kB / 426.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2204, allocations: 63.89 kB / 426.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.2241, allocations: 2.736 MB / 429.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2244, allocations: 35.69 kB / 429.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.2244, allocations: 15.98 kB / 429.6 MB, free: 8.801 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 (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.0001274/0.2245, allocations: 141.8 kB / 429.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.2246, allocations: 23.72 kB / 429.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.2264, allocations: 0.6871 MB / 430.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2265, allocations: 0 / 430.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2265, allocations: 3.984 kB / 430.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2265, allocations: 7.938 kB / 430.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.2268, allocations: 393.1 kB / 430.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2268, allocations: 0 / 430.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.227, allocations: 35.92 kB / 430.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001928/0.2289, allocations: 420.4 kB / 431.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2289, allocations: 8 kB / 431.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.2323, allocations: 2.707 MB / 434 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2324, allocations: 0 / 434 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.2341, allocations: 0.7383 MB / 434.7 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.2342, allocations: 100.8 kB / 434.8 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.2342, allocations: 8 kB / 434.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.2345, allocations: 27.92 kB / 434.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.2346, allocations: 23.91 kB / 434.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.2346, allocations: 12 kB / 434.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.2347, allocations: 156.4 kB / 435 MB, free: 3.086 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2347, allocations: 0 / 435 MB, free: 3.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.2352, allocations: 103.9 kB / 435.1 MB, free: 2.984 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 (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.001918/0.2371, allocations: 1.3 MB / 436.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.2384, allocations: 0.6311 MB / 437.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2384, allocations: 0 / 437.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.2393, allocations: 410.5 kB / 437.5 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.2397, allocations: 31.88 kB / 437.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.2458, allocations: 3.506 MB / 441 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2461, allocations: 0.7407 MB / 441.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2462, allocations: 41.91 kB / 441.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2463, allocations: 75.34 kB / 441.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2464, allocations: 0 / 441.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.946/2.193, allocations: 9.54 MB / 451.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/16.5, allocations: 11.69 kB / 451.4 MB, free: 2.645 MB / 318.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)