Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.001046/0.001046, allocations: 109.7 kB / 16.03 MB, free: 6.363 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.0009966/0.0009967, allocations: 186.2 kB / 16.95 MB, free: 6.176 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05085/0.05085, allocations: 8.098 MB / 298.9 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 361.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2099, allocations: 51.5 MB / 412.8 MB, free: 25.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004516/0.2145, allocations: 6.079 MB / 418.9 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.2174, allocations: 2.425 MB / 421.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.2178, allocations: 24 kB / 421.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.2184, allocations: 266.7 kB / 421.6 MB, free: 16.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009927/0.2194, allocations: 0.5789 MB / 422.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.2214, allocations: 1.395 MB / 423.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.2224, allocations: 1.443 MB / 425 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.2229, allocations: 0.5171 MB / 425.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.2233, allocations: 0.5955 MB / 426.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005317/0.2239, allocations: 0.7509 MB / 426.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.224, allocations: 144 kB / 427 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.2245, allocations: 391.7 kB / 427.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.2247, allocations: 311 kB / 427.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.2251, allocations: 0.6959 MB / 428.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2261, allocations: 1.799 MB / 430.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2261, allocations: 0 / 430.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2262, allocations: 0 / 430.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.2262, allocations: 0 / 430.2 MB, free: 8.258 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01143/0.2376, allocations: 3.24 MB / 433.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2377, allocations: 11.89 kB / 433.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/0.2379, allocations: 139.6 kB / 433.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.2381, allocations: 139.3 kB / 433.8 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.239, allocations: 0.777 MB / 434.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.2391, allocations: 74.38 kB / 434.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.2392, allocations: 104.4 kB / 434.7 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.2411, allocations: 1.514 MB / 436.2 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.2411, allocations: 7.938 kB / 436.2 MB, free: 2.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2412, allocations: 44 kB / 436.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.2412, allocations: 20 kB / 436.3 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.2429, allocations: 1.472 MB / 437.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007546/0.2505, allocations: 6.011 MB / 443.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.2538, allocations: 3.765 MB / 447.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.2553, allocations: 1.098 MB / 448.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.2554, allocations: 33.27 kB / 448.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.2555, allocations: 56.11 kB / 448.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 4.479e-06/0.2555, allocations: 4 kB / 448.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.03232/0.2878, allocations: 8.282 MB / 457 MB, free: 12.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.288, allocations: 120.1 kB / 457.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.2889, allocations: 0.6643 MB / 457.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.2892, allocations: 69.64 kB / 457.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.2894, allocations: 350.3 kB / 458.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000451/0.2899, allocations: 0.4966 MB / 458.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.2904, allocations: 279.6 kB / 459 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2906, allocations: 349.9 kB / 459.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.292, allocations: 0.9646 MB / 460.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.2934, allocations: 1.082 MB / 461.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.2964, allocations: 2.17 MB / 463.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2964, allocations: 0 / 463.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01019/0.3066, allocations: 4.116 MB / 467.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3066, allocations: 8 kB / 467.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3067, allocations: 3.938 kB / 467.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/0.3184, allocations: 4.212 MB / 471.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/0.3193, allocations: 227.7 kB / 472.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.3424, allocations: 13.17 MB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3436, allocations: 146.4 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.3438, allocations: 47.98 kB / 485.4 MB, free: 15.81 MB / 366.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 (135): * Single equations (assignments): 134 * 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 {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.3444, allocations: 305.6 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.3446, allocations: 114.7 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.3551, allocations: 4.074 MB / 489.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.3552, allocations: 16 kB / 489.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3552, allocations: 4 kB / 489.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.3552, allocations: 15.95 kB / 490 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.368, allocations: 5.995 MB / 496 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.368, allocations: 3.938 kB / 496 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.3687, allocations: 175.8 kB / 496.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/0.3796, allocations: 2.903 MB / 499 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.3799, allocations: 31.98 kB / 499.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/0.4026, allocations: 12.95 MB / 0.5 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4026, allocations: 0 / 0.5 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009925/0.4126, allocations: 3.956 MB / 0.5039 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.413, allocations: 207.3 kB / 0.5041 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4132, allocations: 28 kB / 0.5041 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.4142, allocations: 87.92 kB / 0.5042 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/0.4146, allocations: 126.4 kB / 0.5043 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.4148, allocations: 51.98 kB / 0.5044 GB, free: 0.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006153/0.4154, allocations: 463 kB / 0.5048 GB, free: 48 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4154, allocations: 0 / 0.5048 GB, free: 48 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.1587/0.5741, allocations: 0.5518 MB / 0.5053 GB, free: 92.13 MB / 382.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 (105): * Single equations (assignments): 104 * 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 {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01009/0.5843, allocations: 4.55 MB / 0.5098 GB, free: 91.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008599/0.5929, allocations: 3.481 MB / 0.5132 GB, free: 90.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.593, allocations: 4.594 kB / 0.5132 GB, free: 90.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00551/0.5985, allocations: 2.267 MB / 0.5154 GB, free: 89.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5995, allocations: 153.2 kB / 0.5155 GB, free: 89.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/0.6272, allocations: 16.01 MB / 0.5312 GB, free: 77.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.6277, allocations: 1.1 MB / 0.5323 GB, free: 76.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005663/0.6283, allocations: 150.6 kB / 0.5324 GB, free: 75.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.6287, allocations: 415.3 kB / 0.5328 GB, free: 75.47 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6287, allocations: 0 / 0.5328 GB, free: 75.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06293/0.6917, allocations: 49.85 MB / 0.5815 GB, free: 25.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.6919, allocations: 242.4 kB / 0.5817 GB, free: 25.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.32, allocations: 0 / 0.5817 GB, free: 25.68 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)