Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.001118/0.001118, allocations: 103.2 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.001153/0.001153, allocations: 190.8 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.048/0.048, allocations: 8.094 MB / 299.2 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 361.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1994, allocations: 51.51 MB / 413.4 MB, free: 25.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002317/0.2018, allocations: 1.559 MB / 414.9 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2035, allocations: 1.543 MB / 416.5 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.2036, allocations: 4 kB / 416.5 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.2039, allocations: 119.3 kB / 416.6 MB, free: 22.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.2042, allocations: 119.3 kB / 416.7 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.2055, allocations: 0.9102 MB / 417.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.2058, allocations: 230.9 kB / 417.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.2059, allocations: 80.16 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.206, allocations: 95.64 kB / 418 MB, free: 20.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2062, allocations: 123.5 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.2062, allocations: 16 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2065, allocations: 215.7 kB / 418.3 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.2066, allocations: 47.83 kB / 418.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.2067, allocations: 115.4 kB / 418.5 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.207, allocations: 377.2 kB / 418.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.207, allocations: 4 kB / 418.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.207, allocations: 4 kB / 418.9 MB, free: 19.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2071, allocations: 0 / 418.9 MB, free: 19.96 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.002302/0.2094, allocations: 0.8111 MB / 419.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2094, allocations: 15.89 kB / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.2095, allocations: 46.73 kB / 419.8 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.2095, allocations: 28.59 kB / 419.8 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2097, allocations: 259.9 kB / 420 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2098, allocations: 12.7 kB / 420 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.2098, allocations: 20.38 kB / 420.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.2101, allocations: 264 kB / 420.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2102, allocations: 3.938 kB / 420.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.2102, allocations: 4 kB / 420.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2102, allocations: 4 kB / 420.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.2105, allocations: 243.9 kB / 420.6 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2117, allocations: 1.129 MB / 421.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.2123, allocations: 310.5 kB / 422 MB, free: 16.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.2125, allocations: 160.8 kB / 422.2 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.2126, allocations: 4 kB / 422.2 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2126, allocations: 34.56 kB / 422.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.373e-06/0.2126, allocations: 0 / 422.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002962/0.2156, allocations: 0.9729 MB / 423.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2156, allocations: 55.34 kB / 423.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2158, allocations: 198.4 kB / 423.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2158, allocations: 33.7 kB / 423.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.2159, allocations: 128.4 kB / 423.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.2159, allocations: 86.75 kB / 423.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.216, allocations: 65.59 kB / 423.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.2161, allocations: 326.8 kB / 424.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.2163, allocations: 159.9 kB / 424.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2165, allocations: 153.1 kB / 424.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.2169, allocations: 354.3 kB / 424.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2169, allocations: 0 / 424.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001356/0.2182, allocations: 0.6382 MB / 425.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2182, allocations: 4 kB / 425.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2183, allocations: 4 kB / 425.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.2196, allocations: 324.5 kB / 425.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2198, allocations: 47.91 kB / 425.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.2231, allocations: 2.769 MB / 428.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2234, allocations: 31.67 kB / 428.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.2234, allocations: 15.94 kB / 428.5 MB, free: 9.844 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.2235, allocations: 133.8 kB / 428.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2236, allocations: 19.81 kB / 428.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.225, allocations: 0.6206 MB / 429.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.225, allocations: 4 kB / 429.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.225, allocations: 4.062 kB / 429.3 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.225, allocations: 4 kB / 429.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.2253, allocations: 385.2 kB / 429.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2253, allocations: 0 / 429.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.2254, allocations: 35.92 kB / 429.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.2267, allocations: 320.5 kB / 430 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2267, allocations: 4 kB / 430 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/0.2298, allocations: 2.727 MB / 432.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2298, allocations: 0 / 432.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.2312, allocations: 0.672 MB / 433.4 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.2312, allocations: 104.7 kB / 433.5 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2312, allocations: 11.98 kB / 433.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.2315, allocations: 8 kB / 433.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.2315, allocations: 27.95 kB / 433.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2315, allocations: 4 kB / 433.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.2317, allocations: 151.1 kB / 433.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2317, allocations: 4 kB / 433.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.2321, allocations: 95.94 kB / 433.8 MB, free: 4.281 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/0.2336, allocations: 1.228 MB / 435.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.2349, allocations: 0.6311 MB / 435.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2349, allocations: 3.938 kB / 435.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009293/0.2358, allocations: 446.5 kB / 436.1 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2362, allocations: 23.98 kB / 436.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.2409, allocations: 3.223 MB / 439.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.2412, allocations: 0.7484 MB / 440.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.2413, allocations: 29.92 kB / 440.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.2414, allocations: 67.41 kB / 440.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2414, allocations: 0 / 440.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.2708, allocations: 8.29 MB / 448.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/13.99, allocations: 14.8 kB / 448.5 MB, free: 5.527 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)