Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.003746/0.003746, allocations: 88.72 kB / 15.91 MB, free: 6.305 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.001035/0.001035, allocations: 195.7 kB / 16.83 MB, free: 6.238 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.268/1.268, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1326/0.1326, allocations: 8.089 MB / 298.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07848/0.07964, allocations: 51.51 MB / 412.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002064/0.08174, allocations: 1.127 MB / 413.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.08327, allocations: 1.446 MB / 415.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.08332, allocations: 0 / 415.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.0836, allocations: 91.66 kB / 415.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.08379, allocations: 67.67 kB / 415.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.0851, allocations: 0.8601 MB / 416.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.08526, allocations: 103.5 kB / 416.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.08536, allocations: 33.09 kB / 416.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.08541, allocations: 35.86 kB / 416.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.08549, allocations: 63.69 kB / 416.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.08551, allocations: 8 kB / 416.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.08581, allocations: 199.8 kB / 416.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.08585, allocations: 23.91 kB / 416.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.0859, allocations: 47.69 kB / 416.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.08623, allocations: 275.6 kB / 417 MB, free: 5.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08624, allocations: 4 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08625, allocations: 4 kB / 417 MB, free: 5.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.08626, allocations: 0 / 417 MB, free: 5.672 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001795/0.08806, allocations: 0.6395 MB / 417.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.0881, allocations: 8.031 kB / 417.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.08815, allocations: 46.73 kB / 417.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.08819, allocations: 16.75 kB / 417.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.08836, allocations: 206.9 kB / 417.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.08838, allocations: 8.375 kB / 417.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.08841, allocations: 12.38 kB / 418 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.08866, allocations: 155.9 kB / 418.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.08868, allocations: 7.875 kB / 418.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.08871, allocations: 11.92 kB / 418.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.08871, allocations: 0 / 418.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.0889, allocations: 124 kB / 418.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.08958, allocations: 492.3 kB / 418.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.09022, allocations: 170.6 kB / 418.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.09031, allocations: 52.84 kB / 418.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.09071, allocations: 458.2 kB / 419.4 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.09075, allocations: 42.83 kB / 419.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.09076, allocations: 0 / 419.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007532/0.09151, allocations: 295.4 kB / 419.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.09156, allocations: 84.98 kB / 419.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.0917, allocations: 162.3 kB / 420 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.09173, allocations: 25.7 kB / 420 MB, free: 2.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.09179, allocations: 119.7 kB / 420.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.09182, allocations: 35.45 kB / 420.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.0919, allocations: 49.69 kB / 420.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.09199, allocations: 326.8 kB / 420.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.09209, allocations: 59.98 kB / 420.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.09221, allocations: 106 kB / 420.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.09244, allocations: 175.3 kB / 420.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.09245, allocations: 8 kB / 420.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005168/0.09297, allocations: 254.2 kB / 421.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.093, allocations: 10.03 kB / 421.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.09301, allocations: 4 kB / 421.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.09341, allocations: 68.73 kB / 421.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.09356, allocations: 35.98 kB / 421.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.09473, allocations: 1.366 MB / 422.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.09489, allocations: 27.84 kB / 422.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.09491, allocations: 8 kB / 422.6 MB, free: 15.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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 9.686e-05/0.09502, allocations: 129.7 kB / 422.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.09506, allocations: 19.83 kB / 422.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.09551, allocations: 191.1 kB / 422.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.09553, allocations: 384 / 422.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.09553, allocations: 0 / 422.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.09554, allocations: 3.984 kB / 423 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.09576, allocations: 237.4 kB / 423.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09577, allocations: 3.938 kB / 423.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.09584, allocations: 12 kB / 423.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.09618, allocations: 68.8 kB / 423.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.0962, allocations: 0 / 423.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.09725, allocations: 1.37 MB / 424.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.09726, allocations: 0 / 424.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.0977, allocations: 276.2 kB / 424.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.09775, allocations: 96.89 kB / 425 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.09778, allocations: 0 / 425 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.0979, allocations: 11.92 kB / 425 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.09793, allocations: 8 kB / 425 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.09795, allocations: 7.984 kB / 425 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.09803, allocations: 115.3 kB / 425.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09804, allocations: 0 / 425.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.09835, allocations: 51.98 kB / 425.2 MB, free: 12.77 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 (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.0006765/0.09903, allocations: 0.8067 MB / 426 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005298/0.09958, allocations: 270.5 kB / 426.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.09959, allocations: 4 kB / 426.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.09991, allocations: 186.9 kB / 426.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.1002, allocations: 8 kB / 426.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1023, allocations: 1.972 MB / 428.4 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.1025, allocations: 0.7045 MB / 429.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.1026, allocations: 16.81 kB / 429.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.1027, allocations: 35.42 kB / 429.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1027, allocations: 0 / 429.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1266, allocations: 3.305 MB / 432.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.1268, allocations: 217.5 kB / 432.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.736, allocations: 0 / 432.7 MB, free: 5.098 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)