Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.0008588/0.0008589, allocations: 96.66 kB / 16.3 MB, free: 5.992 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.001055/0.001055, allocations: 187.7 kB / 17.2 MB, free: 5.91 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.328/1.328, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2984/0.2984, allocations: 38.06 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 8 kB / 400.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2858, allocations: 59.16 MB / 459.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006122/0.292, allocations: 6.479 MB / 465.7 MB, free: 25.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.2968, allocations: 3.988 MB / 469.7 MB, free: 22.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.2972, allocations: 16.34 kB / 469.7 MB, free: 22.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.2976, allocations: 149.9 kB / 469.9 MB, free: 22.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.2994, allocations: 0.6327 MB / 470.5 MB, free: 22.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.3001, allocations: 238.9 kB / 470.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000682/0.3008, allocations: 0.5738 MB / 471.3 MB, free: 21.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3026, allocations: 1.18 MB / 472.5 MB, free: 21.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.3032, allocations: 383.2 kB / 472.8 MB, free: 21.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.3036, allocations: 345.4 kB / 473.2 MB, free: 21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.3037, allocations: 30.69 kB / 473.2 MB, free: 21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.3054, allocations: 0.7022 MB / 473.9 MB, free: 20.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.3059, allocations: 389.8 kB / 474.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3061, allocations: 175 kB / 474.5 MB, free: 20.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3077, allocations: 1.029 MB / 475.5 MB, free: 20.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3077, allocations: 4.938 kB / 475.5 MB, free: 20.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3077, allocations: 0 / 475.5 MB, free: 20.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3077, allocations: 0 / 475.5 MB, free: 20.31 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001321/0.309, allocations: 0.9915 MB / 476.5 MB, free: 19.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3091, allocations: 9.812 kB / 476.5 MB, free: 19.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001389/0.3092, allocations: 132.7 kB / 476.6 MB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.3123, allocations: 433.7 kB / 477.1 MB, free: 19.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.313, allocations: 468.7 kB / 477.5 MB, free: 18.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.3131, allocations: 54.27 kB / 477.6 MB, free: 18.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3132, allocations: 78.02 kB / 477.6 MB, free: 18.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3148, allocations: 1.164 MB / 478.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.3148, allocations: 1.281 kB / 478.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.3149, allocations: 30.36 kB / 478.8 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.181e-05/0.315, allocations: 70.61 kB / 478.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.3167, allocations: 1.24 MB / 480.1 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.3217, allocations: 3.522 MB / 483.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3231, allocations: 1.076 MB / 484.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.3232, allocations: 17.03 kB / 484.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3232, allocations: 47.56 kB / 484.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.595e-06/0.3232, allocations: 0 / 484.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.005642/0.3289, allocations: 3.065 MB / 487.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3289, allocations: 86.14 kB / 488 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.3293, allocations: 361.6 kB / 488.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.3294, allocations: 41.7 kB / 488.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3295, allocations: 312.2 kB / 488.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.3298, allocations: 315.4 kB / 489 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3298, allocations: 16 kB / 489 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.3299, allocations: 370.7 kB / 489.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.3304, allocations: 465.7 kB / 489.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.331, allocations: 0.5579 MB / 490.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.3316, allocations: 0.5456 MB / 490.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3316, allocations: 0 / 490.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001925/0.3335, allocations: 1.469 MB / 492.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3336, allocations: 8 kB / 492.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3336, allocations: 4 kB / 492.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008106/0.3344, allocations: 332.8 kB / 492.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.3351, allocations: 175.7 kB / 492.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.3391, allocations: 3.958 MB / 496.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.3396, allocations: 59.84 kB / 496.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.3397, allocations: 43.92 kB / 496.9 MB, free: 1.738 MB / 350.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.3401, allocations: 299.7 kB / 497.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.3402, allocations: 55.34 kB / 497.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.3425, allocations: 1.555 MB / 498.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3425, allocations: 8 kB / 498.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3425, allocations: 11.92 kB / 498.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3425, allocations: 11.92 kB / 498.9 MB, free: 15.79 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.3472, allocations: 3.02 MB / 0.4901 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3473, allocations: 4 kB / 0.4901 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.3479, allocations: 168.2 kB / 0.4903 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007404/0.3486, allocations: 288.5 kB / 0.4906 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.3487, allocations: 27.98 kB / 0.4906 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/0.3531, allocations: 3.692 MB / 0.4942 GB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.3531, allocations: 7.938 kB / 0.4942 GB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.3555, allocations: 1.758 MB / 0.4959 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.3557, allocations: 148.3 kB / 0.4961 GB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.3558, allocations: 24 kB / 0.4961 GB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.3562, allocations: 43.97 kB / 0.4961 GB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3564, allocations: 80.78 kB / 0.4962 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.3564, allocations: 35.98 kB / 0.4962 GB, free: 6.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.3567, allocations: 259.1 kB / 0.4965 GB, free: 5.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3567, allocations: 0 / 0.4965 GB, free: 5.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3578, allocations: 308 kB / 0.4968 GB, free: 5.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002907/0.3607, allocations: 3.354 MB / 0.5001 GB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.3628, allocations: 1.385 MB / 0.5014 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3628, allocations: 0 / 0.5014 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.3639, allocations: 0.8319 MB / 0.5022 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.3645, allocations: 96.61 kB / 0.5023 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/0.3721, allocations: 6.521 MB / 0.5087 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.3729, allocations: 1.086 MB / 0.5097 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004594/0.3734, allocations: 184.6 kB / 0.5099 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.3737, allocations: 263.3 kB / 0.5102 GB, free: 7.461 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3737, allocations: 0 / 0.5102 GB, free: 7.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.4025, allocations: 14.93 MB / 0.5247 GB, free: 8.691 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.4027, allocations: 214.8 kB / 0.5249 GB, free: 8.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.422, allocations: 0 / 0.5249 GB, free: 8.449 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat does not exist to compare? outputFormat=mat