Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",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.006224/0.006224, allocations: 89.23 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.001582/0.001582, allocations: 194.6 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.229/1.229, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1412/0.1412, allocations: 8.075 MB / 298.7 MB, free: 2.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.89 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07976, allocations: 51.52 MB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003488/0.08327, allocations: 2.808 MB / 415.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.08529, allocations: 1.742 MB / 417.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.08542, allocations: 8 kB / 417.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.08579, allocations: 151.3 kB / 417.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.08624, allocations: 230.7 kB / 417.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.088, allocations: 1.105 MB / 418.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.08847, allocations: 0.4898 MB / 419.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.08868, allocations: 132.5 kB / 419.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.08885, allocations: 199.2 kB / 419.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.08908, allocations: 254.8 kB / 419.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.08913, allocations: 28 kB / 419.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.08954, allocations: 247.8 kB / 420 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.08963, allocations: 95.53 kB / 420.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.08983, allocations: 238.7 kB / 420.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.09044, allocations: 0.6465 MB / 421 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09046, allocations: 3.984 kB / 421 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.09046, allocations: 3.938 kB / 421 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.09047, allocations: 0 / 421 MB, free: 1.664 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005937/0.09642, allocations: 1.662 MB / 422.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.09646, allocations: 12.03 kB / 422.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.505e-05/0.09656, allocations: 78.66 kB / 422.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.09667, allocations: 56.28 kB / 422.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.09704, allocations: 356.1 kB / 423.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.09713, allocations: 33.38 kB / 423.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.0972, allocations: 44.36 kB / 423.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000876/0.09808, allocations: 0.6008 MB / 423.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.0981, allocations: 4 kB / 423.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.09816, allocations: 16 kB / 423.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.09818, allocations: 8 kB / 423.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.09895, allocations: 0.5466 MB / 424.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.1018, allocations: 2.227 MB / 426.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1029, allocations: 0.877 MB / 427.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.1034, allocations: 406.4 kB / 427.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.1048, allocations: 1.345 MB / 429.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1049, allocations: 35 kB / 429.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.453e-06/0.1049, allocations: 0 / 429.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.009799/0.1147, allocations: 2.654 MB / 431.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.1147, allocations: 115.2 kB / 432.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.115, allocations: 337.4 kB / 432.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.1151, allocations: 41.7 kB / 432.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1153, allocations: 201 kB / 432.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1154, allocations: 185.3 kB / 432.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.1156, allocations: 146.5 kB / 433 MB, free: 5.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1157, allocations: 346.8 kB / 433.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.1163, allocations: 409.9 kB / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/0.117, allocations: 0.5089 MB / 434.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1182, allocations: 0.9414 MB / 435.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1182, allocations: 0 / 435.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004675/0.1229, allocations: 1.781 MB / 436.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1229, allocations: 9.875 kB / 436.9 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.123, allocations: 7.938 kB / 436.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1389/0.2618, allocations: 1.094 MB / 438 MB, free: 56.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.2624, allocations: 116.7 kB / 438.1 MB, free: 56.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/0.2695, allocations: 4.787 MB / 442.9 MB, free: 54.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.27, allocations: 74.98 kB / 443 MB, free: 54.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.27, allocations: 28.5 kB / 443 MB, free: 54.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.2702, allocations: 178.2 kB / 443.2 MB, free: 54.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.2703, allocations: 40.91 kB / 443.2 MB, free: 54.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.2743, allocations: 1.625 MB / 444.9 MB, free: 54.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2743, allocations: 5.656 kB / 444.9 MB, free: 54.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2743, allocations: 9.906 kB / 444.9 MB, free: 54.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2743, allocations: 6.125 kB / 444.9 MB, free: 54.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.2748, allocations: 0.6708 MB / 445.6 MB, free: 53.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2748, allocations: 0 / 445.6 MB, free: 53.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.275, allocations: 69.08 kB / 445.6 MB, free: 53.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004335/0.2794, allocations: 1.032 MB / 446.7 MB, free: 53.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.2794, allocations: 11.75 kB / 446.7 MB, free: 53.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006867/0.2863, allocations: 4.752 MB / 451.4 MB, free: 50.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2863, allocations: 4.594 kB / 451.4 MB, free: 50.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.2901, allocations: 1.627 MB / 453.1 MB, free: 49.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.2901, allocations: 120.7 kB / 453.2 MB, free: 49.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.2902, allocations: 15.16 kB / 453.2 MB, free: 49.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2906, allocations: 29.05 kB / 453.2 MB, free: 49.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.2907, allocations: 49 kB / 453.3 MB, free: 49.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2908, allocations: 21.53 kB / 453.3 MB, free: 49.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.2909, allocations: 224.3 kB / 453.5 MB, free: 49.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2909, allocations: 0 / 453.5 MB, free: 49.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006542/0.2916, allocations: 238.1 kB / 453.7 MB, free: 49.43 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003922/0.2955, allocations: 2.188 MB / 455.9 MB, free: 48.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.298, allocations: 1.332 MB / 457.3 MB, free: 47.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.298, allocations: 3.125 kB / 457.3 MB, free: 47.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.2997, allocations: 0.8311 MB / 458.1 MB, free: 47.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3001, allocations: 42.25 kB / 458.1 MB, free: 47.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.3112, allocations: 6.856 MB / 465 MB, free: 43.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.3114, allocations: 0.8309 MB / 465.8 MB, free: 42.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.3116, allocations: 59.44 kB / 465.9 MB, free: 42.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3118, allocations: 156.2 kB / 466 MB, free: 42.7 MB / 366.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3118, allocations: 0 / 466 MB, free: 42.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.341, allocations: 16.71 MB / 482.7 MB, free: 41.43 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.3412, allocations: 245.2 kB / 483 MB, free: 41.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.26, allocations: 5 kB / 483 MB, free: 41.18 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)