Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.0008109/0.0008109, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009313/0.0009315, allocations: 181.7 kB / 16.96 MB, free: 6.895 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1656/0.1656, allocations: 8.083 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002906, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 52.53 MB / 416.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002121/0.1198, allocations: 1.5 MB / 417.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1221, allocations: 1.544 MB / 419.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1223, allocations: 4 kB / 419.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004384/0.1228, allocations: 119.5 kB / 419.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.1233, allocations: 123.3 kB / 419.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1248, allocations: 0.7513 MB / 420.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.1253, allocations: 290.5 kB / 420.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1255, allocations: 102.1 kB / 420.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1257, allocations: 111.5 kB / 420.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.1259, allocations: 135.4 kB / 420.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.1259, allocations: 12 kB / 420.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.1263, allocations: 167.8 kB / 420.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.1264, allocations: 43.77 kB / 421 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.1266, allocations: 157 kB / 421.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.1272, allocations: 410.8 kB / 421.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1272, allocations: 0 / 421.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1273, allocations: 0 / 421.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1273, allocations: 0 / 421.5 MB, free: 2.824 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003117/0.1304, allocations: 0.9126 MB / 422.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1304, allocations: 8.031 kB / 422.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.957e-05/0.1305, allocations: 54.73 kB / 422.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.1306, allocations: 36.56 kB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1309, allocations: 275.6 kB / 422.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.131, allocations: 20.81 kB / 422.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.131, allocations: 24.38 kB / 422.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.1316, allocations: 343.7 kB / 423.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1316, allocations: 3.938 kB / 423.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.1316, allocations: 12 kB / 423.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1317, allocations: 4 kB / 423.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.1322, allocations: 329.6 kB / 423.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1645/0.2967, allocations: 1.027 MB / 424.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.2974, allocations: 395.2 kB / 425 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.2977, allocations: 231.7 kB / 425.2 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.218e-05/0.2978, allocations: 13.33 kB / 425.2 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2979, allocations: 41.58 kB / 425.2 MB, free: 40.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 3.506e-06/0.2979, allocations: 0 / 425.2 MB, free: 40.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002455/0.3003, allocations: 1.046 MB / 426.3 MB, free: 40.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.3004, allocations: 60.34 kB / 426.3 MB, free: 40.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3006, allocations: 231.3 kB / 426.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.3006, allocations: 29.08 kB / 426.6 MB, free: 40.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.3007, allocations: 143.8 kB / 426.7 MB, free: 40.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.3008, allocations: 120.3 kB / 426.9 MB, free: 40.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3009, allocations: 49.11 kB / 426.9 MB, free: 40.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.3009, allocations: 331.7 kB / 427.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.3013, allocations: 234.6 kB / 427.5 MB, free: 39.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.3016, allocations: 244.9 kB / 427.7 MB, free: 39.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.3022, allocations: 0.5076 MB / 428.2 MB, free: 39.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3022, allocations: 0 / 428.2 MB, free: 39.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001191/0.3034, allocations: 0.7188 MB / 428.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3034, allocations: 6.188 kB / 428.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3034, allocations: 0 / 428.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006374/0.3041, allocations: 157.1 kB / 429.1 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.3046, allocations: 85.97 kB / 429.2 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.3086, allocations: 4.303 MB / 433.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.309, allocations: 37.41 kB / 433.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.3091, allocations: 16.39 kB / 433.5 MB, free: 35.99 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.3093, allocations: 145.4 kB / 433.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.3094, allocations: 28.28 kB / 433.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.311, allocations: 0.5863 MB / 434.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.311, allocations: 6.594 kB / 434.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.311, allocations: 4.562 kB / 434.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3111, allocations: 16.98 kB / 434.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.3116, allocations: 454.6 kB / 434.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3116, allocations: 0 / 434.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.3119, allocations: 50.86 kB / 434.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007422/0.3127, allocations: 155.5 kB / 435 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3127, allocations: 11.11 kB / 435 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.3163, allocations: 4.294 MB / 439.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3163, allocations: 0.625 kB / 439.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.3177, allocations: 0.6431 MB / 439.9 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.3178, allocations: 101.9 kB / 440 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.3178, allocations: 4 kB / 440 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.3181, allocations: 16.41 kB / 440 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.3182, allocations: 16.19 kB / 440 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.3183, allocations: 13.28 kB / 440 MB, free: 30.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.3185, allocations: 166.6 kB / 440.2 MB, free: 30.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3185, allocations: 4 kB / 440.2 MB, free: 30.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007165/0.3192, allocations: 124.2 kB / 440.3 MB, free: 30.84 MB / 350.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.001631/0.3208, allocations: 1.186 MB / 441.5 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.3222, allocations: 0.8737 MB / 442.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3222, allocations: 0 / 442.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.323, allocations: 0.5808 MB / 443 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3233, allocations: 27.72 kB / 443 MB, free: 28.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.329, allocations: 3.667 MB / 446.7 MB, free: 26.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3292, allocations: 0.7597 MB / 447.4 MB, free: 25.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.3295, allocations: 33.69 kB / 447.5 MB, free: 25.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3297, allocations: 76.14 kB / 447.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3297, allocations: 0 / 447.5 MB, free: 25.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.3508, allocations: 6.864 MB / 454.4 MB, free: 25.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.351, allocations: 227.2 kB / 454.6 MB, free: 25.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.102, allocations: 4 kB / 454.6 MB, free: 25.03 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)